SA-MP Forums Archive
Ajuda Error Rapido Sou Iniciante ainda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Ajuda Error Rapido Sou Iniciante ainda (/showthread.php?tid=283658)



Ajuda Error Rapido Sou Iniciante ainda - TicoTeco - 16.09.2011

C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1269) : error 017: undefined symbol "plberarayerid"
C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1269) : warning 203: symbol is never used: "playerid"
C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1306) : error 017: undefined symbol "ido"
C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1306 -- 130 : error 001: expected token: "]", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
espero que me explique por favor como tiro este erro rapido facil sou novato U.u


Re: Ajuda Error Rapido Sou Iniciante ainda - Hardware - 16.09.2011

C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1269) : error 017: undefined symbol "plberarayerid"
Use:
pawn Код:
new plberarayerid[MAX_PLAYER_NAME];
C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1269) : warning 203: symbol is never used: "playerid"
De um ctrl+f e apague a variбvel: new playerid;

C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1306) : error 017: undefined symbol "ido"
Use:
pawn Код:
new ido;
Essa ъltima aqui eu jб nгo sei, post a linha.
C:\Users\Lucas\Desktop\Muca 1.6\gamemodes\muca.pwn(1306 -- 130 : error 001: expected token: "]", but found "-identifier-"



Re: Ajuda Error Rapido Sou Iniciante ainda - [O.z]Caroline - 16.09.2011

expected token: "]", but found "-identifier-"
quando falta um ']' no final:
pawn Код:
SetPlayerColor(playerid, colors[playerid);
darб erro.

Correto:
pawn Код:
SetPlayerColor(playerid, colors[playerid]);