Help me with Spam.
#2

All you gotta do is make a timer for a certain amount of time and a variable, then check OnPlayerText, and everytime the player sends a certain text, activate the timer ( only if it's the first time he talks until the timer ends, ofc ) and count the times he sent the text while the timer was on.

If the timer was on and he sent 3 or more messages, mute him.
Reply


Messages In This Thread
Help me with Spam. - by Configuration - 03.04.2013, 11:25
Re: Help me with Spam. - by Denying - 03.04.2013, 11:47
Re: Help me with Spam. - by Configuration - 03.04.2013, 11:53
Re: Help me with Spam. - by denNorske - 03.04.2013, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)