Jump to content

entering the cylinder help


A3kri

Recommended Posts

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...