Help me with Spam.
#1

Hello i nee help with Spam if player spam in 3 time Mute him 10 Minute.
Reply
#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
#3

but how i dont know how to make it man for that i post here
Reply
#4

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!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)