dugasz1 Posted August 1, 2013 Posted August 1, 2013 Hello! I've got a problem always whit buttons for a long time. When i create a guiWindow whit some button and when i click on the window (only the window not to the button) the mta detect like it was one of the buttons. For example if the mta thinks that the exit buton i click everywhere in the window(only the window not on a button) it's start the close func and the window will be closed. Why?
Wei Posted August 1, 2013 Posted August 1, 2013 addEventHandler("onClientGUIClick", buttton, function, false) -- False must be at the end of event handler!
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