[Ajuda] 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: [Ajuda] Erros (
/showthread.php?tid=360426)
Erros -
Biieell - 17.07.2012
Arrumado , XD '
Respuesta: [Duvida]Erros -
Coreia - 17.07.2012
posta as linhas dos erros ae'
Re: Erros -
Biieell - 17.07.2012
Arrumado XD
Re: Erros -
.FuneraL. - 17.07.2012
Coloca Assim:
pawn Код:
new String[110], String2[75], giveplayerid, Level;
E Tenta compilar.
Re: Erros -
Biieell - 17.07.2012
Код:
C:\Users\Gabriel\Desktop\GM DO ZERO !\gamemodes\GM.pwn(230) : warning 219: local variable "Level" shadows a variable at a preceding level
C:\Users\Gabriel\Desktop\GM DO ZERO !\gamemodes\GM.pwn(234) : warning 213: tag mismatch
C:\Users\Gabriel\Desktop\GM DO ZERO !\gamemodes\GM.pwn(234) : warning 213: tag mismatch
C:\Users\Gabriel\Desktop\GM DO ZERO !\gamemodes\GM.pwn(234) : warning 205: redundant code: constant expression is zero
C:\Users\Gabriel\Desktop\GM DO ZERO !\gamemodes\GM.pwn(230) : warning 203: symbol is never used: "Level"
Re: Erros -
.FuneraL. - 17.07.2012
Se vocк tem alguma outra definiзгo Level fora do comando, retire-a.
Re: Erros -
Biieell - 17.07.2012
Nгo era isso .Funeral , Mais valeu pela ajuda . o leo me ajudou pelo msn , xD, !
@Edit , So fica a questao do SalvarPlayer , alguma soluзгo ? '
Re: Erros -
.FuneraL. - 17.07.2012
Poderia sу deixar assim:
pawn Код:
stock SalvarPlayer(playerid)
{
DOF2_SetInt(contas, "Level", GetPlayerScore(playerid));
DOF2_SetInt(contas, "Skin", GetPlayerSkin(playerid));
DOF2_SetInt(contas, "Admin Nivel", pDados[playerid][pAdm]);
DOF2_SetInt(contas, "Dinheiro", GetPlayerMoney(playerid));
DOF2_SaveFile();
}
Re: Erros -
Don_Speed - 17.07.2012
pawn Код:
if( 1 > (Level) < 7) return SendClientMessage(playerid,COR_AMARELO,"Os Leveis de admins sгo de 1 а 7.");
Re: Erros -
leonardo1434 - 17.07.2012
Erros jб foram consertados por mim pelo msn.