HugoS# Posted September 25, 2013 Share 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 ) Link to comment
Castillo Posted September 25, 2013 Share 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". Link to comment
HugoS# Posted September 25, 2013 Author Share Posted September 25, 2013 Thnx ! It's really working ! 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