Sign in to follow this  
Vennox

Javascript Clientside: Prevent custom chat from activating

Recommended Posts

So i m using this custom chat:

along with a dialog system with input boxes. The problem is that, when the player types someting with the letter T in the input box, the chat activates as it was a message (Ex. if the player types "potato" in the input box, the chat input will display "ato")

Is there a way to block this?

Share this post


Link to post
Share on other sites

idk this script but I would try to block the 'T'-key when cursor is available or do smt like a flag if chat is active.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.