[Ajuda] PlayerInfo - 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] PlayerInfo (
/showthread.php?tid=524065)
PlayerInfo -
_Play_ - 05.07.2014
error 017: undefined symbol "PlayerInfo"
linha if(PlayerInfo[playerid][pFaccoes] == 1)
Re: PlayerInfo -
Ts3 - 05.07.2014
PlayerInfo nгo estб definido. Mostre o seu enum.
Re: PlayerInfo -
darkxdll - 05.07.2014
Nгo existe "PlayerInfo" no seu script cara , tu nгo criou ele .
ex :
PHP код:
enum informacoes
{
pFaccoes
};
new PlayerInfo[MAX_PLAYERS][informacoes];
Re: PlayerInfo -
_Play_ - 05.07.2014
DELET
Re: PlayerInfo -
Ts3 - 05.07.2014
Desfaзa tudo o que vocк fez anteriormente..
Vocк possui uma enum? como a que o darkxdll lhe passou?
Re: PlayerInfo -
Ley - 05.07.2014
Exemplo:
PHP код:
enum teste
{
Esquerdo,
Direito
}
new PlayerInfo[MAX_PLAYERS][teste];
Re: PlayerInfo -
_Play_ - 05.07.2014
no gm tem essa
pawn Код:
enum pInfo
{
pFaccoes,
pIniciante,
pReset,
pVip,
pFrente,
pAdmin,
pBanco,
pLogou,
pGerente
}
new PlayerInfo[MAX_PLAYERS][pInfo];
erros
\GM COMPLETO\gamemodes\PROJETOoo.pwn(297) : error 017: undefined symbol "PlayerInfo"
\gamemodes\PROJETOoo.pwn(297) : warning 215: expression has no effect
\gamemodes\PROJETOoo.pwn(297) : error 001: expected token: ";", but found "]"
\gamemodes\PROJETOoo.pwn(297) : error 029: invalid expression, assumed zero
gamemodes\PROJETOoo.pwn(297) : fatal error 107: too many error messages on one line
Re: PlayerInfo -
Ts3 - 05.07.2014
Poste a linha 297.
Re: PlayerInfo -
_Play_ - 05.07.2014
if(PlayerInfo[playerid][pFaccoes] == 1)
Re: PlayerInfo -
Ts3 - 05.07.2014
Nгo vejo nada de errado, poderia posta a public onde estб if(PlayerInfo[playerid][pFaccoes] == 1)