SA-MP Forums Archive
[Ajuda] 2 Erros e 1 Warning - 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] 2 Erros e 1 Warning (/showthread.php?tid=326885)



[Ajuda] 2 Erros e 1 Warning - Caio_Freeze - 19.03.2012

Alguйm pode me ajuda com esse problemas ?

pawn Код:
C:\Documents and Settings\Fernando\Desktop\FilterScrips\Open\BrasilSamp1.pwn(19855) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Fernando\Desktop\FilterScrips\Open\BrasilSamp1.pwn(21737) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Fernando\Desktop\FilterScrips\Open\BrasilSamp1.pwn(21737) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Fernando\Desktop\FilterScrips\Open\BrasilSamp1.pwn(80265) : warning 203: symbol is never used: "DOF2_Exit"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Como faзo para definir PlayerName?


Re: [Ajuda] 2 Erros e 1 Warning - Lucas_Alemao - 19.03.2012

acredito que isso resolva:
pawn Код:
//fim do gm
stock PlayerName(playerid)
{
    new pNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pNome, 24);
    return pNome;
}



Re: [Ajuda] 2 Erros e 1 Warning - Caio_Freeze - 19.03.2012

Quote:
Originally Posted by Lucas_Alemao
Посмотреть сообщение
acredito que isso resolva:
pawn Код:
//fim do gm
stock PlayerName(playerid)
{
    new pNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pNome, 24);
    return pNome;
}
Resolveu Vlw

Agora so ta esse warning
pawn Код:
C:\Documents and Settings\Fernando\Desktop\FilterScrips\Open\BrasilSamp1.pwn(80270) : warning 203: symbol is never used: "DOF2_Exit"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.



Re: [Ajuda] 2 Erros e 1 Warning - Lucas_Alemao - 19.03.2012

faзa assim:
pawn Код:
//public OnGameModeExit
DOF2_Exit();



Re: [Ajuda] 2 Erros e 1 Warning - Caio_Freeze - 19.03.2012

Quote:
Originally Posted by Lucas_Alemao
Посмотреть сообщение
faзa assim:
pawn Код:
//public OnGameModeExit
DOF2_Exit();
Vlw Ganhou meu Reep +


Re: [Ajuda] 2 Erros e 1 Warning - Lucas_Alemao - 19.03.2012

vlw, qualquer coisa tamos ae