Karuzo Posted February 8, 2014 Posted February 8, 2014 Hey guys, so i wanted to unbind the freeroam panel and re-bind it if i click on a button. How can i do that ?
Karuzo Posted February 8, 2014 Author Posted February 8, 2014 Well thank you at first, but i want to unbind it if i click on a button, and re-bind it if i click on an another button.
xXMADEXx Posted February 8, 2014 Posted February 8, 2014 Simply use: onClientGUIClick -- event addEventHandler bindKey / unbindKey
Bonsai Posted February 8, 2014 Posted February 8, 2014 hmm, like this maybe: F6 calls a function that unbinds the panel, adds an EventHandler onClientKey, binds the first key that is pressed to the panel and removes the EventHandler again.
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