[Ajuda] Erro
#1

Код:
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(igiveplayersizeof(giveplayer));
                            
format(string128"%s[ID:%d] - Nivel de procura: %d\n"giveplayer,i,WantedPoints[i]);
                            
strcat(DialogProcurados,string);
                            
ShowPlayerDialog(playerid9937DIALOG_STYLE_LIST"Suspeitos Atuais",DialogProcurados,"Ok","Sair");
                        } 
Reply
#2

Код:
new giveplayer[32];
Reply
#3

Quote:
Originally Posted by SkullGamer
Посмотреть сообщение
Код:
new giveplayer[32];
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)