Jump to content

GUI: Area Around Buttons works Too


Recommended Posts

addEventHandler("onClientGUIClick", modifyMail, changeMailLocal)

addEventHandler("onClientGUIClick", modifyPass, changePasswordLocal)

addEventHandler("onClientGUIClick", closeButton, hideDetailsPanel)

Could it be because I create like 5 GUI Windows in the same function? Although I make them visibile/invisible with setGuiVisible, therefore I don't know, maybe invisible GUI buttons still work ? >_>

Edited by Guest
Link to comment
Put 'false' argument on each addEventHandler function if you attach an event directly to a element, like this:
addEventHandler("onClientGUIClick", modifyMail, changeMailLocal, false) 
-- and so on.. 

Thank you a lot, works like a charm now :lol:

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...