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.

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

  • Moderators
Posted

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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.

Discord: its.tails

  • Moderators
Posted

@ Tails. input mode only works for the gui's created by the same script.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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...