addEvent("spawnBike", true)
addEventHandler("spawnBike", root,
function ()
local x,y,z = getElementPosition( source )
createVehicle ( 509, x, y, z )
end
)
addEvent("spawnBmx", true)
addEventHandler("spawnBmx", root,
function ()
local x,y,z = getElementPosition( source )
createVehicle ( 481, x, y, z )
end
)
I want when the player withdraw a vehicle, he enters inside the vehicle,automatically.