SA-MP Forums Archive
Alguns Erros ... - 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: Alguns Erros ... (/showthread.php?tid=180483)



Alguns Erros ...[new] - oakley - 01.10.2010

Erros:
pawn Код:
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
ETB.pwn(249) : warning: 219: local variable "PlayerName" shadows a variable at a preceding level
FFFFFFFFFFUUUUUUUU 8 Avisos Iguais :S
pawn Код:
[B]Sгo geralmente de Comandos assim:[/B]
    if(!strcmp(cmdtext, "/changepass", true))
{
new string[128], name[MAX_PLAYER_NAME] ,PlayerName[24];
{
format(string, sizeof string, "Your About to change your password \n\nA password authorization will be needed to continue!!!", name);
ShowPlayerDialog(playerid, Register1, DIALOG_STYLE_MSGBOX, "change password ", string, "OK", "Cancel");
}
if(IsLogged[playerid] == 0)
{
format(string, sizeof string, "You Need To login First", PlayerName);
ShowPlayerDialog(playerid, Login, DIALOG_STYLE_INPUT, "WARRNING", string, "login", "Cancel");
}
return 1;
}



Re: Alguns Erros ... - insanity_hol - 01.10.2010

Posta ae mano, vai que alguem tem a mesma duvida que voce


Re: Alguns Erros ... - ipsBruno - 01.10.2010

Faltou a enumeraзгo acima disto:

pawn Код:
enum pinfo
{
kius
detes
rato
};