Stranger Posted June 28, 2015 Share Posted June 28, 2015 hello, how can i do like, one event for maybe 2 markers or more i want to do it like when i create new marker in the server the event in the server will work with it. i mean if i puted like this: addCommandHandler ("marker", function (plr) createMarker (1, 1, 1, "cylinder", 2, 255, 0, 0) end ) i want to do it like when i create the marker the event will work with it .. i know this way 'resourceRoot' i wnat another way to do it .. and thank you. Link to comment
LabiVila Posted June 28, 2015 Share Posted June 28, 2015 To work what? Can you be more clear as I think nobody around here totally got you... Link to comment
KariiiM Posted June 28, 2015 Share Posted June 28, 2015 To be honest,me too i didn't understand anything of what you're trying to do,Edit what you said in the first and explain well to let everyone understand. Link to comment
Stranger Posted June 28, 2015 Author Share Posted June 28, 2015 i meant like there is an event 'onMarkerHit' in the script, and i want it to work with every marker i create by this command 'marker' like i put an event in the server side ok ? i want it like when i create new marker while i'm in the server this marker will work with the event 'onMarkerHit' that i put in the script before now clear ? Link to comment
LabiVila Posted June 28, 2015 Share Posted June 28, 2015 Well you don't have to do anything for that... onMarkerHit doesn't specify a special marker, it's for every marker. It automatically does what you're asking for... Link to comment
Stranger Posted June 28, 2015 Author Share Posted June 28, 2015 i want it for a specific markers not for every marker .. only what i create .. and i don't want to use 'resourceRoot' 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