Bean666 Posted February 7, 2021 Share Posted February 7, 2021 Hi how to disable binds especially when on login panel, edit panels. I tried this code: addEventHandler("onClientResourceStart", getResourceRootElement(), function() guiSetInputMode("no_binds_when_editing") --Calls guiSetInputMode once and for all to not have to handle binds state dynamically end) and it does not work, or did I use it wrong, or I'm missing something, help appreciated. Link to comment
SpecT Posted February 7, 2021 Share Posted February 7, 2021 (edited) Is your login panel made with DX functions/lib ? Edited February 7, 2021 by SpecT Link to comment
Bean666 Posted February 7, 2021 Author Share Posted February 7, 2021 (edited) No, the Editbox is made of "guiCreateEdit", basically a normal one. the Body yes, but the edit boxes are just normal ones, not a DX. https://imgur.com/ZyietHk Edited February 7, 2021 by Shaman123 Link to comment
SpecT Posted February 7, 2021 Share Posted February 7, 2021 Hmm, then try with guiSetInputMode("no_binds") where you show the panel and guiSetInputMode("allow_binds") where you hide it 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