Hello guys, i tried all night to understand my code about CreateVehicle, i'm working with Server Script, CreateVehicle and Warp, well, i want to make the localplayer create own vehicle, now, i have a problem i create my car, but the other guy creates his car then my car destroy. please hep me! thats my code:
--Server Side
marker = createMarker(.....)
function CreateVeh(thePlayer)
if (thePlayer) then
heli = createVehicle( 425, 234, 1967, 17, 0,0, 90)
warpPedIntoVehicle(thePlayer, heli, 0 , true)
end
end
addEventHandler("onMarkerHit" , marker, CreateVeh)
PLEASE HELP ME! THANKS!