Help me with Spam. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me with Spam. (
/showthread.php?tid=427819)
Help me with Spam. -
Configuration - 03.04.2013
Hello i nee help with Spam if player spam in 3 time Mute him 10 Minute.
Re: Help me with Spam. -
Denying - 03.04.2013
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.
Re: Help me with Spam. -
Configuration - 03.04.2013
but how i dont know how to make it man for that i post here
Re: Help me with Spam. -
denNorske - 03.04.2013
Use
Search button or search on ******. This is not a place where people give you code out of nothing, this is for "helping" with your current queries and codes.
Try on your own.
Read
https://sampwiki.blast.hk/wiki/SetTimer
and
https://sampwiki.blast.hk/wiki/Scripting_Basics
Good luck!