Renaz Posted April 18, 2019 Share Posted April 18, 2019 Hello everyone, I have come to ask how to remove the "t" chat, I am creating an RP server and I want to force the players to follow the RP and remove the "t" chat I just want to leave the "t" chat for commands, someone put something without being a command this would not appear in the chat Example; Correct; https://imgur.com/a/W9rJSvj Wrong; https://imgur.com/a/9ED4mHy Link to comment
MTA Anti-Cheat Team Dutchman101 Posted April 19, 2019 MTA Anti-Cheat Team Share Posted April 19, 2019 function blockChatMessage() cancelEvent() end addEventHandler("onPlayerChat", getRootElement(), blockChatMessage) If you want to use custom chat handling instead, then obviously you need to write additional code. @Renazz 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