27.05.2011, 13:49
quando tempo copilar ele da esses seguintes erros
gostaria que alguem me ajudasse
as linhas sгo essa:
Код:
C:\Documents and Settings\Wallace\Desktop\Untitled.pwn(70) : error 017: undefined symbol "PlayerInfo" C:\Documents and Settings\Wallace\Desktop\Untitled.pwn(70) : warning 215: expression has no effect C:\Documents and Settings\Wallace\Desktop\Untitled.pwn(70) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Wallace\Desktop\Untitled.pwn(70) : error 029: invalid expression, assumed zero C:\Documents and Settings\Wallace\Desktop\Untitled.pwn(70) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
as linhas sгo essa:
Код:
if(strcmp(cmdtext, "/trabalhar", true) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1) { if(admtrampando[playerid] > 0) { admtrampando[playerid] = 0; GetPlayerName(playerid,sendername,sizeof(sendername)); SendClientMessageToAll(COLOR_WHITE, "|___________ Aviso da Administraзгo ___________|"); format(string, 256, "Admin: %s ID(%d) estб Jogando,/admins.",sendername, playerid); SendClientMessageToAll(COLOR_DBLUE, string); KillTimer(TempoAdministrador); SetPlayerSkin(playerid); SetPlayerToTeamColor(playerid); ResetPlayerWeapons(playerid); SetPlayerHealth(playerid,100); } else { admtrampando[playerid] = 1; GetPlayerName(playerid,sendername,sizeof(sendername)); SendClientMessageToAll(COLOR_WHITE, "|___________ Aviso da Administraзгo ___________|"); format(string, 256, "Admin: %s ID(%d) estб Trabalhando,/admins.",sendername, playerid); SendClientMessageToAll(COLOR_DBLUE, string); SetPlayerSkin(playerid, 217); SetPlayerColor (playerid, COLOR_ROSA); TempoAdministrador = SetTimerEx("Administrador", 1000, 1, "i", playerid); } } return 1; }