09.03.2015, 18:28
pawn Код:
if(playerVariables[x][pSpamCount] >= 1)
playerVariables[x][pSpamCount]--;
if(playerVariables[x][pSpamCount] >= 2 && playerVariables[x][pAdminLevel] == 0) {
playerVariables[x][pMuted] = 20;
playerVariables[x][pSpamCount] = 0;
format(szMessage, sizeof(szMessage), "%s (%d) Maybe is Spammed. [/spec] him..", playerVariables[x][pNormalName], x);
submitToHelpersAndAdmins(szMessage, COLOR_GREEN);
SendClientMessage(x, COLOR_GREY, "You have been auto-muted for spamming. You will be unmuted in 10 seconds.");