09.03.2015, 16:57
hi
i have problem , when i compile , i get this error:
code
i have problem , when i compile , i get this error:
Код:
: error 017: undefined symbol "playerid"
code
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[playerid][pNormalName], playerid);
submitToHelpersAndAdmins(szMessage, COLOR_GREEN);
SendClientMessage(x, COLOR_GREY, "You have been auto-muted for spamming. You will be unmuted in 10 seconds.");