Fantanic
Members-
Posts
160 -
Joined
-
Last visited
Everything posted by Fantanic
-
Hello , Im trying to make it if u do /staff that u are in the class 'staff' (its not setting me in the class "staff" class; function staffMode (player, command) setPlayerSkin(player, 217) setElementData ( Player, "class", staff) end addCommandHandler ( "staff", staffMode )
-
createVehicle addVehicleUpgrade getElementData / getTeamName / getPlayerAccount xmlLoadFile xmlSaveFile ? I dont get it from how to lock it + how to get it so it takes the vehicle u are in + from xmlloadfile + savefile , maybe its better to use SQL but i dont have any knowledge in scripts with sql (i dont know how to make it working with sql*)
-
U could also help me with giving me the functions of ; Making a gui to lock cars to classes / teams / usernames And that u can change upgrades + colors + a delete button so u can delete one. Greetings
-
Worked Thanks
-
I dont rlly get you , the respawnVehicle works fine , i just need it so it ignores the trailers
-
still need help Also im want to try to make a gui to add and lock cars in-game For example i use /carlock then i get a gui wich contains ; Vehicle Username (up to 5 usernames) , team , class , color , upgrades . But i dont know wich functions i need to use. Thank you
-
Maybe i got to use local model = (ids of all vehicles but not trailers) ?
-
still need help
-
didnt worked ^
-
Im using K-Respawn
-
Little Bumb
-
Hello , I got a trucker job working fully now but i got one problem. If there is a respawn it respawns my trailer. So i would like to make the trailer not being respawn able.
-
Hello , Im trying to send a message to the team 'Police' : local Police = getPlayerTeam("Police") outputChatBox(There is a jailbreak respond fast!",Police)
-
I didnt know he bought a stolen script
-
ah ok ty for informing me
-
function startTrucking() trucking = true if guiGridListGetSelectedItem (truckGridlist) ~= -1 then local row = guiGridListGetSelectedItem(truckGridlist) money = guiGridListGetItemData(truckGridlist, row, 3) local theTable = guiGridListGetItemData(truckGridlist, row, 1) destroyMarkers() mark = createMarker(theTable[1], theTable[2], theTable[3], "checkpoint", 4, 230, 0, 0) createBlipAttachedTo(mark, 42) money = guiGridListGetItemData(truckGridlist, row, 4) if (guiGridListGetItemData(truckGridlist, row, 5)) then triggerServerEvent("wantedTrucker", getLocalPlayer(), getLocalPlayer()) end closeTruckGui() truck = getPedOccupiedVehicle(localPlayer) --setElementFrozen(getPedOccupiedVehicle(localPlayer), false) addEventHandler("onClientMarkerHit", mark, deliverLoad) triggerServerEvent("createTrailer", localPlayer, truck) end end Btw someone gived me this script , my friend paid for it but didnt received the server side
-
onMarkerHit After u start the trucking job ( clicked on gui and etc)
-
Hello , Im trying to make a trucker job. i need help with creating a trailer + destroying the trailer I also need help with destroying the trailer. This is what i got already but it isnt working : function createTrailer ( player ) createVehicle ( 432, x, y, z ) -- create the trailer outputChatBox ( "You got Trailer", player ) end Note i only need to create a trailer (near me like i only have to drive 1metre or so) so i can attach it and a function to destroy the trailer Greetings , Jonas
-
Thanks i knew it had something to do with a table but wasnt sure
-
Hello , I want to make it if i arrest someone he goes to a random jail cell. for example i arrest P1 and he goes to cell 1 and i arrest P2 and he goes to a other random cell Greetings , Jonas
-
Sorry for sort of spam / doubleposts but this topic seems to be ignored
-
*bumb* still need help
-
Doesnt seem to work
