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? Sorry for lot of questions and thanks for the answers!
Wei Posted August 1, 2013 Posted August 1, 2013 addEventHandler("onClientGUIClick", buttton, function, false) -- False must be at the end of event handler! Diet with russian vodka, lose 3 days in one week !
iMr.3a[Z]eF Posted August 1, 2013 Posted August 1, 2013 Where is your codes? To Visit Us Press Here: mtasa://5.9.206.180:22002
dugasz1 Posted August 1, 2013 Author Posted August 1, 2013 Thanks Wei Working well Sorry for lot of questions and thanks for the answers!
Wei Posted August 1, 2013 Posted August 1, 2013 You're welcome! Diet with russian vodka, lose 3 days in one week !
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