Jump to content

steve123

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

steve123's Achievements

Vic

Vic (3/54)

0

Reputation

  1. I think you will be laught, but i have no idea about what you said ( debug)
  2. I swear it dont works :( I checked few times and my color of checkpoints is the same like on the script and nothing happen this is code vehiclesid = {429, 541, 480, 411, 565} function MarkerHit( hitElement) if getElementType(hitElement) == "player" then local r,g,b = getMarkerColor(source) if r == 255 and g == 0 and b == 0 then local x,y,z = getElementPosition(hitElement) if not isPedInVehicle(hitElement) then local vehicle = createVehicle(vehiclesid[math.random(1,#vehiclesid)],x,y,z,0,0,getPedRotation(hitElement)) warpPedIntoVehicle(hitElement, vehicle) end end end end PS: I tried with every codes on this thread
  3. Are you sure it works ? Because I tested it and nothing happened - it should work like on this video but with my few ID's only
  4. Thank you guys for help, but script don't work I looked on code and I have no idea what is wrong I checked color of race checkpoints (on the map) and it is correctly with it what is in script
  5. Hi It is possible to make a script which will be change vehicle for random if player touch it ? Because I want give 5 cars id's and on my server when checkpoint will be have a color ( 225,0,0 ) - only this color of checkpoint it will be give random car of these id's ( 429, 541, 480 , 411 , 565 ) And if it is possible can you tell me which function should I use ?
×
×
  • Create New...