Karuzo Posted February 8, 2014 Share 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 ? Link to comment
xXMADEXx Posted February 8, 2014 Share Posted February 8, 2014 freeroam/fr_client.lua line 1579 by default Link to comment
Karuzo Posted February 8, 2014 Author Share 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. Link to comment
xXMADEXx Posted February 8, 2014 Share Posted February 8, 2014 Simply use: onClientGUIClick -- event addEventHandler bindKey / unbindKey Link to comment
Bonsai Posted February 8, 2014 Share 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. Link to comment
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