.:HyPeX:. Posted November 26, 2013 Share 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 Link to comment
bandi94 Posted November 26, 2013 Share 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 Link to comment
.:HyPeX:. Posted November 26, 2013 Author Share 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.. Link to comment
Spajk Posted November 26, 2013 Share Posted November 26, 2013 You can create an empty gui label and use onClientGUIClick. Link to comment
.:HyPeX:. Posted November 26, 2013 Author Share Posted November 26, 2013 You can create an empty gui label and use onClientGUIClick. hows that? setGUIalpha 0? Link to comment
Chronic Posted November 26, 2013 Share Posted November 26, 2013 That or guiCreateLabel ( Put, Some, Numbers, Here, " ", true/false ) Link to comment
Spajk Posted November 26, 2013 Share 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. 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