Jump to content

تصحيح كود لمس الماركر


Recommended Posts

شبآب وين الغلط فالكود .... ؟

local marker1 = createMarker( 1479.8846435547,-1010.649140625,26.84375, "cylinder", 2, 255, 255, 0, 255 ) 
function PlayerGo(player) 
setElementPosition(player, 312.70001220703,2502.6000976563, 30.200000762939) 
end 
  
addEventHandler("onClientMarkerHit", marker1, PlayerGo) 
  

Link to comment

مسوية كلنت ؟ واذا كذآ جرب :

local marker1 = createMarker( 1479.8846435547,-1010.649140625,26.84375, "cylinder", 2, 255, 255, 0, 255 ) 
  
function PlayerGo(player) 
    if ( player == localPlayer ) then 
        setElementPosition(player, 312.70001220703,2502.6000976563, 30.200000762939) 
    end 
end 
addEventHandler("onClientMarkerHit", marker1, PlayerGo) 
  

و شوف .. : )

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...