mute help anti spam
#5

Code:
SpamCheck[playerid] = gettime(); 
if(gettime() - SpamCheck[playerid] < 1000 && SpamCheck[playerid] != 0)
If this is where these 2 lines are, then of course it's going to mute as it's setting SpamCheck to gettime, then checking the time which is going to be very much equal, and then it'll mute.

Also, unless you are actually making the player muted permanently, and not for 5 minutes, it's almost a waste to commit that to the DB, unless they log whilst muted, in which case that would be an idea to track the mute.
Reply


Messages In This Thread
mute help anti spam - by PepsiCola23 - 02.02.2018, 16:15
Re: mute help anti spam - by Inn0cent - 04.02.2018, 16:48
Re: mute help anti spam - by PepsiCola23 - 04.02.2018, 16:55
Re: mute help anti spam - by Inn0cent - 04.02.2018, 17:02
Re: mute help anti spam - by Sew_Sumi - 04.02.2018, 17:04
Re: mute help anti spam - by Inn0cent - 04.02.2018, 17:06
Re: mute help anti spam - by RogueDrifter - 04.02.2018, 17:08

Forum Jump:


Users browsing this thread: 4 Guest(s)