A3kri Posted August 1, 2013 Share Posted August 1, 2013 Hello .. I made a cylinder local myMarker = createMarker ( 2244.4313964844, -1665.2449951172, 15.4765625, "cylinder", 1.5, 255, 255, 0, 255 ) now how do I make when I get inside the cylinder a gui I made shows up? now i can bring it up by a commandhandler addCommandHandler("ss", skintime, false, false) how do I make it by entering the cylinder ? *note that it's in my client side Link to comment
xXMADEXx Posted August 1, 2013 Share Posted August 1, 2013 You'll need a GUI first of all... Then, make the marker create on the client side, and when he hits the server triggers a default MTA event called "onClientMarkerHit." Link to comment
iMr.3a[Z]eF Posted August 1, 2013 Share Posted August 1, 2013 Use the function below: "onClientMarkerHit" -- an event getElementType guiSetVisible Link to comment
A3kri Posted August 1, 2013 Author Share Posted August 1, 2013 You'll need a GUI first of all... Then, make the marker create on the client side, and when he hits the server triggers a default MTA event called "onClientMarkerHit." Use the function below: thanks both, the error I had was i used onMarkerHit and i should've used onClientMarkerHit 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