-
Posts
378 -
Joined
-
Last visited
Everything posted by Sparrow
-
wa7da menhom: https://community.multitheftauto.com/ind ... ils&id=380 https://community.multitheftauto.com/ind ... ls&id=5645
-
mta3 les fars/feu rouges mta3 el karhba fama menha script ready fil community
-
dima 3andk "end" zyda addEventHandler("onResourceStart", resourceRoot, function(player) x, y, z = getElementPosition(player) exports.customblips:createCustomBlip(x, y, 20, 20, "imageName.png") end ) function check() if (x, y, z = true) then return true else return false end end setTimer(check, 1000, 0)
-
maw 9oul akeka mil oul engineLoadTXD engineImportTXD engineLoadDFF engineReplaceModel
-
telechargi: https://community.multitheftauto.com/index.php?p= ... ils&id=960 w a3ml exports: exports.customblips:createCustomBlip ( float worldX, float worldY, int imageWidth, int imageHeight, string imagePath, [float streamRadius = 500] ) EX: local x, y, z = getElementPosition(player) exports.customblips:createCustomBlip(x, y, imageWidth, imageHeight, "imageName.png", streamRadius)
-
enti t7b tbadel blip icon fil map?
-
ech to9sd? setBlipIcon
-
in which line is the problem? change source on line 5 to player to set your team to "STAFF"
-
@hernandez, ken jina enajmou nektbou 3arbi, rana ma3malnech request lil board hedhi.
-
ataw tchouf el kawereth mta3 el twnsa fil scripting
-
Requesting Moderators for our board
Sparrow replied to Baseplate's topic in Maghrebi Arabic / Darija / الدارجة
I support this idea, maybe I (Sparrow) and Samer can handle this sub forum. and thanks for creating this sub forum -
also you can work with element data, get if a vehicle owned by a group/team and let players enter it. I guess this what you need: setElementData -- use this if you are going to add a function to set vehicle owned to a group getElementData outputChatBox cancelEvent "onClientVehicleEnter"
-
change "accountName" on line 4 to getAccountName(getPlayerAccount(source)) or add local accountName = getAccountName(getPlayerAccount(source))
-
I don't need to be moderator, but others wants me why not also if there is a topic that we want it to be sticked/locked, we don't like to wait for TAPL/JR10 to lock/stick it
-
we will have our own moderators in section inside arabic board?
-
all arabic countries uses arabic letters on writing, but we (tunisians) use french + numbers, also our keyboard doesn't contain arabic letters
-
that takes alot of time, it's better if we post on a Tunisian Board, so we can understand each others
-
vous avez besoin de scripter: viewtopic.php?f=148&t=40809 ça vous donne une gilet lorsque vous écrire: /gilet function donneMoiUneGilet() setPedArmor(source, 100) end addCommandHandler("gilet", donneMoiUneGilet) ça mettez votre santé au maximum lorque vous écrire: /vie function donneMoiUneNouvelleVie() setPedStat(source, 24, 1000) end addCommandHandler("vie", donneMoiUneNouvelleVie)
-
1) démarrer "realdriveby" resource 2) j'ai pas compris le question, désolé 3) setPedStat 4) createPed 5) -- Gilet par balle setPedArmor(element, 100) -- Santé au max. setPedStat(element, 24, 1000)
-
there is a way to delete all rows in a table? like this: local account = getAccountName(getPlayerAccount(player)) executeSQLQuery("DELETE * FROM tableName WHERE accountName ='"..tostring(account).."'")
-
it's almost the same, just you need: local vehicle = createVehicle(vehicleID, x, y, z) local trailer = createVehicle(trailerID, x, y+5, z) warpPedIntoVehicle(source, vehicle) attachTrailerToVehicle(trailer, vehicle) change (x, y, z) with coordonates where the vehicle will be spawned when you start a map, same for vehicleID and trailerID. also remeber to change 'source' with element that you use
-
function attachTrailerToMyTruck() local x, y, z = getElementPosition(source) local vehicle = createVehicle(vehicleID, x, y, z) local trailer = createVehicle(trailerID, x, y+5, z) warpPedIntoVehicle(source, vehicle) attachTrailerToVehicle(trailer, vehicle) end addCommandHandler("createTruck", attachTrailerToMyTruck)
-
the first 'givePlayerMoney' gives the player random money from $100 to $400 but the second, gives the player $50 only if his vehicle health more than 990 ----------- maybe the code will not work since 'delses' on line 8 not defined.
-
that gives money to player when his vehicle health over 990 ------------ this one gives player money if his vehicle health equal or more that 990 if getElementHealth(vehicle) >= 990 then givePlayerMoney ( source, 50 )
-
you mean when your vehicle health egal to 990 or higher you won money?