[Ajuda] Erro - 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 (
/showthread.php?tid=486233)
[Ajuda] Erro -
goku114 - 07.01.2014
Код:
C:\Users\Rafael\Desktop\PlayHappy\gamemodes\PlayHappy.pwn(10333) : error 017: undefined symbol "giveplayer"
C:\Users\Rafael\Desktop\PlayHappy\gamemodes\PlayHappy.pwn(10333) : error 017: undefined symbol "giveplayer"
C:\Users\Rafael\Desktop\PlayHappy\gamemodes\PlayHappy.pwn(10333) : error 029: invalid expression, assumed zero
C:\Users\Rafael\Desktop\PlayHappy\gamemodes\PlayHappy.pwn(10333) : fatal error 107: too many error messages on one line
PHP код:
if(WantedPoints[i] > 0)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, 128, "%s[ID:%d] - Nivel de procura: %d\n", giveplayer,i,WantedPoints[i]);
strcat(DialogProcurados,string);
ShowPlayerDialog(playerid, 9937, DIALOG_STYLE_LIST, "Suspeitos Atuais",DialogProcurados,"Ok","Sair");
}
Re: [Ajuda] Erro -
SkullFire - 07.01.2014
Re: [Ajuda] Erro -
PT - 07.01.2014
Quote:
Originally Posted by SkullGamer
|
pra que 32
se o samp n suporta mais que 24.. ( supostamente ) o cliente n suporta acima de 21 digitos..
pawn Код:
{
new giveplayer[MAX_PLAYER_NAME];
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, 128, "%s[ID:%d] - Nivel de procura: %d\n", giveplayer,i,WantedPoints[i]);
strcat(DialogProcurados,string);
ShowPlayerDialog(playerid, 9937, DIALOG_STYLE_LIST, "Suspeitos Atuais",DialogProcurados,"Ok","Sair");
}
e melhor assim, sempre e mais otimizado que 32.