Karoffe Posted August 22, 2014 Posted August 22, 2014 Okay, idk what is happening i cannot make the "onMarkerHit" event works idk why local myMarker = createMarker(-2507.72241, -619.67261, 131.56250, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker function MarkerHit() -- define MarkerHit function for the handler outputChatBox( "inside myMarker") -- attach the element's type with the text, and output it end addEventHandler ( "onMarkerHit", myMarker, MarkerHit ) that's the code of the wiki, but removed some lines to make sure... it is not working thought the problem may be in the meta or the file name so i changed the EventHandler to onResourceStart and it worked..^^
Et-win Posted August 22, 2014 Posted August 22, 2014 Is it Server-sided? And if you only put this piece of script in it should work.
Karoffe Posted August 22, 2014 Author Posted August 22, 2014 Yes it is server side, it is only this piece of script. -.-
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