15.06.2012, 20:20
I have this command
and me these errors
Code:
if(strcmp(cmd, "/admins", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Admini online"); for(new i=0;i<=MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { if(pAdmin[i] > 0) { format(string, sizeof(string), "%s [Level: %d]", RemoveUnderScore(i), pAdmin[i]); SendClientMessage(playerid, COLOR_GREY, string); } } } } return 1; }
Code:
E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(517) : warning 204: symbol is assigned a value that is never used: "SkinOffSet" E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(582) : error 017: undefined symbol "pAdmin" E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(582) : warning 215: expression has no effect E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(582) : error 001: expected token: ";", but found "]" E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(582) : error 029: invalid expression, assumed zero E:\SA-MP Resources\RNT\gamemodes\RPG.pwn(582) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.