Jump to content

Disable binds when typing in an edit box


'LinKin

Recommended Posts

Posted

Hello,

For example if I type 'p' the admin panel opens,

if I type 't' the chatbox starts to accept input,

and the same with some other keys/binds

How can I disable the binds when I'm typing something inside an edit box?

Thanks.

Posted

The function doesn't always work! Sometimes the admin panel stays active when typing into an edit box but other times it doesn't. Most of the times it doesn't work.

Posted

You could just do an if-statement in all panels which open, and only let them open if the player has the loggedin elementdata for example

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...