07.02.2013, 14:40
nill eu nao sei por que o meu gm da esses erros, botei seu codigo e deu isso:
Linhas:
Quote:
C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1689) : error 017: undefined symbol "cmd" C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1691) : error 017: undefined symbol "PlayerInfo" C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1691) : warning 215: expression has no effect C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1691) : error 001: expected token: ";", but found "]" C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1691) : error 029: invalid expression, assumed zero C:\Users\xXWesllyxX.xXWesllyxX-PC\Desktop\Arquivo Pawn\service34\gamemodes\NUNC.pwn(1691) : fatal error 107: too many error messages on one line Compilation aborted. Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
Код:
linha (1689) if(strcmp(cmd, "/tapa", true) == 0) LINHA (1691)=if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce nao e admin ou nao tem level suficiente.");