AjaxFTW Posted February 1, 2016 Posted February 1, 2016 Hey, guys any one know how to bind this function on "Enter" function disableAll() if (guiGetEnabled(loginWindow["mainWindow"]) == true) then guiSetEnabled(loginWindow["mainWindow"], false) end end addEventHandler("onClientGUIClick", loginButton["Main"], disableAll, false) need to be bound on enter please guys.
Enargy, Posted February 1, 2016 Posted February 1, 2016 function disableAll() if (guiGetEnabled(loginWindow["mainWindow"]) == true) then guiSetEnabled(loginWindow["mainWindow"], false) end end bindKey("enter", "down",disableAll ) -- if not found then replace enter by 'enter_exit '.
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