koeno100 Posted June 18, 2015 Share Posted June 18, 2015 Hey guys! I'm creating a custom DX login panel, using onClientKey to check if a player is typing in a textbox etc. Everything is working, except for that I want to override all binds, just like guiSetInputMode does... But I can't use that function now of course... Does anyone have an idea how I could do this? Link to comment
ALw7sH Posted June 18, 2015 Share Posted June 18, 2015 for writing on dx edit "onClientCharacter" is better than "onClientKey" also im using guiSetInputEnabled on my dxLib and it works perfectly Link to comment
koeno100 Posted July 20, 2015 Author Share Posted July 20, 2015 Okay that works now, I'm using "onClientCharacter" but how do I script the backspace? Like, I can use "onClientKey" but then you have to press backspace every time you want to remove a character. How can I instead make it that if you hold the backspace button, it'll keep removing characters till you release it? Link to comment
TAPL Posted July 20, 2015 Share Posted July 20, 2015 Use pressOrRelease parameter, when it pressing create an infinite timer to remove a character and when it releasing kill the timer. 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