GamerDeMTA Posted March 14, 2013 Share Posted March 14, 2013 I want to do a marker in a place for teleport the player to another place, I can? Link to comment
iPrestege Posted March 14, 2013 Share Posted March 14, 2013 -- USE THIS SERVER : createMarker getElementType "onMarkerHit" setElementPosition full code : marker = createMarker ( x,y,z, "cylinder", 2, 0, 255, 0, 225 ) addEventHandler("onMarkerHit",marker, function (player) if (getElementType(player) == "player") then setElementPosition (player,x,y,z) end end ) Server side . Link to comment
GamerDeMTA Posted March 14, 2013 Author Share Posted March 14, 2013 Thanks!!!!! It works 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