NextGenRP Posted May 1, 2012 Share Posted May 1, 2012 Hey i have created a panel and when you click on a vehicle it opens, It all seems to work fine but when you press the close button if there is a vehicle underneath the gui it clicks on that too and reopens it, Is there anything i can do? I've tried guiSetInputEnabled. Link to comment
Puma Posted May 1, 2012 Share Posted May 1, 2012 I don't get what you mean. Are you talking about an image of a vehicle or a vehicle ingame? A picture would be nice. Link to comment
NextGenRP Posted May 1, 2012 Author Share Posted May 1, 2012 http://postimage.org/image/r1sc1t9pj When i press the close button, It clicks the vehicle and instantly opens it again. Link to comment
Aibo Posted May 2, 2012 Share Posted May 2, 2012 if you're using onClientClick event, try opening the window only if state == "down" Link to comment
NextGenRP Posted May 2, 2012 Author Share Posted May 2, 2012 Thanks Aibo worked perfect 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