.:HyPeX:. Posted November 26, 2013 Posted November 26, 2013 Hello, is there a function to check if the client clicks in a specific "region"? so if i create a DxDrawRectangle i can know when a client clicks it. Thanks HyPeX
bandi94 Posted November 26, 2013 Posted November 26, 2013 There is no such a function but you can make it with : onClientClick like Blaawee say'd onClientClick will return the screen x,y then if x>dx_x and xand y>dx_y and ythen
.:HyPeX:. Posted November 26, 2013 Author Posted November 26, 2013 Thanks, i was just thinking this, but wanted to see if there was a special function. i'll test it out and post what happens..
Spajk Posted November 26, 2013 Posted November 26, 2013 You can create an empty gui label and use onClientGUIClick.
.:HyPeX:. Posted November 26, 2013 Author Posted November 26, 2013 You can create an empty gui label and use onClientGUIClick. hows that? setGUIalpha 0?
Chronic Posted November 26, 2013 Posted November 26, 2013 That or guiCreateLabel ( Put, Some, Numbers, Here, " ", true/false )
Spajk Posted November 26, 2013 Posted November 26, 2013 You can create an empty gui label and use onClientGUIClick. hows that? setGUIalpha 0? Just dont put any text in it.
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