saitama Posted July 16, 2016 Share Posted July 16, 2016 local onePiece = createMarker ( 2485.00000, -1667.00000, 13.34375, "checkpoint", 4,0, 255, 0, 255 ) function x ( player, dim ) if getElementType ( player ) == "player" and dim then setElementPosition ( player , 2485.00000, -1667.00000, 11,2221 ) end end addEventHandler( "onMarkerHit", onePiece, x ) وش المشكلة Link to comment
' A F . Posted July 16, 2016 Share Posted July 16, 2016 onePiece = createMarker ( 2485.00000, -1667.00000, 13.34375, "checkpoint", 4,0, 255, 0, 255 ) addEventHandler("onMarkerHit",root, function ( Element ) if ( source == onePiece and getElementType ( Element ) == "player" ) then setElementPosition ( Element , 2485.00000, -1667.00000, 11,2221 ) end end ); 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