Jump to content

Anti-mat in chat.


dima3367

Recommended Posts

Posted

Hello all!

Please tell me how can I make the system not anti censorship words.

For example:

The player writes a bad word in chat and it is replaced with ****.

These bad words I need to register manually in the script.

thanks in advance

Posted

You can:

  
-- cancel the event: 
"onClientChatMessage" 
-- and make it output your censored message with 
outputChatBox () 
-- use string.gsub to find and replace the "bad words" 
  

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