14.01.2015, 18:55
pawn Код:
{
if(Player[playerid][AdminLevel] <= pClicked[playerid][AdminLevel]) return SendClientMessage(playerid, WHITE, "You can't kick someone with a higher admin level then you."); //line 8757
new string[128];
format(string, sizeof(string), "Admin %s has kicked %s through the admin access panel.", RemoveUnderScore(playerid), RemoveUnderScore(pClicked[playerid]));
SendClientMessageToAll(RED, string);
SaveStats(pClicked[playerid]);
Kick(pClicked[playerid]);
}
Код:
test.pwn(8757) : error 001: expected token: ")", but found "[" test.pwn(8757) : error 029: invalid expression, assumed zero test.pwn(8757) : warning 215: expression has no effect test.pwn(8757) : error 001: expected token: ";", but found "]" test.pwn(8757) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.