SA-MP Forums Archive
[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=308238)



[AJUDA] Erros - isli27 - 02.01.2012

pawn Код:
cpstream.inc(38) : warning 219: local variable "X" shadows a variable at a preceding level
cpstream.inc(38) : warning 219: local variable "Y" shadows a variable at a preceding level
cpstream.inc(38) : warning 219: local variable "Z" shadows a variable at a preceding level



Re: [AJUDA] Erros - Konstantinos - 02.01.2012

Just replace them with
pawn Код:
New Float:PX, Float:PY, Float:PZ;
// For example
GetPlayerPos(playerid, PX, PY, PZ);
Edit: My bad, I didn't see that it was from .inc file (include).


Re: [AJUDA] Erros - Kmatsu - 02.01.2012

as variaveis X, Y e Z ja estгo definidas, apague o "new Float:X..." ou entao troque o nome


Re: [AJUDA] Erros - isli27 - 02.01.2012

Vlw, mais aqui nem tem isso,
pawn Код:
Float:CasaX,
    Float:CasaY,
    Float:CasaZ,
    Float:IntX,
    Float:IntY,
    Float:IntZ,
Sу isso ai


Re: [AJUDA] Erros - Lуs - 02.01.2012

Procure por:

pawn Код:
Float:X, Float:Y, Float:Z;
E renomeie.

Reconheзo esse cуdigo.


Re: [AJUDA] Erros - isli27 - 02.01.2012

aaa :/ , kkkkkkkkkk


Re: [AJUDA] Erros - isli27 - 02.01.2012

Consegui *---*, finalmente coloquei o sistema no meu GM MUAHAHAHHAHAHAHA

Vlw gente



@Malz o double, tinha esquecido