matito6 Posted December 27, 2012 Share Posted December 27, 2012 Welcome. with this script, I can do only one teleport to the map DM or DD. How do I do that you can have piles teleports? marker = createMarker(-1755, 6658.1000976563, 11.300000190735, "corona", 5, 100, 0, 100, 100) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, -2720.3000488281, 7150.3999023438, 143) setElementRotation(vehicle, 0, 0, 0) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport) Link to comment
Lloyd Logan Posted January 18, 2013 Share Posted January 18, 2013 Welcome.with this script, I can do only one teleport to the map DM or DD. How do I do that you can have piles teleports? marker = createMarker(-1755, 6658.1000976563, 11.300000190735, "corona", 5, 100, 0, 100, 100) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, -2720.3000488281, 7150.3999023438, 143) setElementRotation(vehicle, 0, 0, 0) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport) This is bumping, but by piles do you mean a multiple choice of which map to go to? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now