local theVehicle = {}local marker = createMarker( 1920.599609375, 1310.099609375,8, "cylinder", 2, 0 ,0,255, 155)function vehicle(thePlayer) if (getElementType(thePlayer) == "player") then if isElement( theVehicle[thePlayer] ) then destroyElement(theVehicle[thePlayer] ) end if ( isPedInVehicle(thePlayer) ) then return end theVehicle[thePlayer] = createVehicle(470, 1921.599609375, 1298.599609375,9.3999996185303, 0, 0, 270 ) outputChatBox ( "This is a free vehicle. Spawning another one will destroy this vehicle.", thePlayer, 0, 0, 255 ) warpPedIntoVehicle(thePlayer, theVehicle[thePlayer]) endendaddEventHandler("onMarkerHit", marker, vehicle)