Line 5 createdVehicle = X
source = The source of this event is the marker that got hit by the element.
marker = createMarker(2088.07031, -1629.89954, 13.54688, "cylinder", 1.7, 0, 0, 255)
addEventHandler("onMarkerHit", marker,
function ( player )
local nx, ny, nz = getElementPosition ( player )
vehicle = createVehicle(468,nx, ny, nz )
warpPedIntoVehicle ( player , vehicle )
outputChatBox (' * your in the vehicle Now, Drive *', player , 255, 255, 0 )
end
)
Btw how to fix my cylinder always floating everytime i script it Thanks in advance