Jump to content

Remove Teamchat


Recommended Posts

Hello everyone,

I would like to remove the teamchat from the y-key (to make place for other binds).

unbindKey ("y"), unbindKey ("y","down","chatbox") and similar commands returns false, and toggling the control for the command "chatbox" will not work either, because the normal chat should stay. The same happens when I unbind 'teamsay', but as expected this will not work, because the command bound to y is 'chatbox' and not 'teamsay'.

toggleControl won't work either, since it will disable the normal chat as well and it won't be possible to add this normal chat again.

the event onPlayerChat won't work either, because the players aren't always in the teams and it isn't meant to attach the command 'chatbox' to the button.

Does anyone have any other ideas to fix this?

Thanks in advance,

JasperNL

Link to comment

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