Jump to content

x[ مشكلة ]x مشكلة بالانتقال للماركر الاخر


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...