HugoS# Posted September 25, 2013 Posted September 25, 2013 this script didn't work why can i get help pliz ! local marker = createMarker( 1632.74011, -1521.43271, 14.60944, "arrow", 1.5, 255, 0, 0) function help () setElementPosition ( getLocalPlayer(), 1544.0194091797, -1352.6119384766, 329.47549438477 ) end addEventHandler( "onPlayerMarkerHit", rootElement, help )
Castillo Posted September 25, 2013 Posted September 25, 2013 The event "onPlayerMarkerHit" is server side-only, and you're using getLocalPlayer which is a client side-only function, change it to "source". Also, rootElement is not defined anywhere, you should use "root". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted September 25, 2013 Posted September 25, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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