[Ajuda] Erro, ajuda rep+ - 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] Erro, ajuda rep+ (
/showthread.php?tid=400102)
Erro, ajuda rep+ -
Duduloch - 16.12.2012
Erro:
pawn Код:
C:\Users\Usuario\Desktop\Brasil New Reality\gamemodes\bnr.pwn(246) : error 028: invalid subscript (not an array or too many subscripts): "Profissao"
C:\Users\Usuario\Desktop\Brasil New Reality\gamemodes\bnr.pwn(246) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Brasil New Reality\gamemodes\bnr.pwn(246) : error 001: expected token: ";", but found "]"
C:\Users\Usuario\Desktop\Brasil New Reality\gamemodes\bnr.pwn(246) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\Brasil New Reality\gamemodes\bnr.pwn(246) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Linha:
pawn Код:
if(Profissao[playerid] == DESEMPREGADO)
to usando enum.
deveria usar [MAX_PLAYERS]? Se sim como usar.. att
Re: Erro, ajuda rep+ -
paulor - 16.12.2012
pawn Код:
//Var
new Profissao[MAX_PLAYERS];
if(Profissao[playerid] == DESEMPREGADO)
//Enum
enum pInfo
{
Profissao,
}
new Player[MAX_PLAYERS][pInfo];
if(Player[playerid][Profissao] == DESEMPREGADO)
Re: Erro, ajuda rep+ -
Gleisson_. - 16.12.2012
Valeu pelo spam.
Re: Erro, ajuda rep+ -
Duduloch - 16.12.2012
gente, o forum tava lagado eu dei f5 sem kerer, desculpem, se mod puder fecha o topico aki. Respondam se puderem..
https://sampforum.blast.hk/showthread.php?tid=400106
Re: Erro, ajuda rep+ -
Gleisson_. - 17.12.2012
Eu sou, comigo tambйm aconteceu isso uma vez, nгo se preocupe, nгo te reportei.