Jump to content

some help whit antispam


bandi94

Recommended Posts

Posted

i downloaded the anti_flood form comunity but if players writ a msg 2 times they get a warning and if they type again the text normaly need to get muted but they get 5-6 warnings and .... they spam ( i set maximum msg to 2 )

so i decided to make my own antispam but i used "onPlayerChat"....... local msg =getPlayerMessage but msg returns nil what function can i use to get the message (text) they write.?

Posted
addEventHandler("onPlayerChat", root, 
function(msg, msgType) 

msg is defined as the message the player typed.

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