SA-MP Forums Archive
[Ajuda] Warning's - 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] Warning's (/showthread.php?tid=283230)



[Ajuda] Warning's - wallacematheus - 14.09.2011

pawn Код:
D:\Pawno 0.3c\include\for.inc(395) : warning 201: redefinition of constant/macro (symbol "foreach(%1,%2)")
D:\SAMP\GMS SKND\GAME MODES\TESTE.pwn(5365) : warning 202: number of arguments does not match definition
D:\SAMP\GMS SKND\GAME MODES\TESTE.pwn(57913) : warning 203: symbol is never used: "hqlock"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:          12052 bytes
Code size:          2439284 bytes
Data size:          8503528 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:10971248 bytes

3 Warnings.
as linhas sгo:
pawn Код:
{"Foster Valley",               {-2178.60,-599.80,-0.00,-1794.90,-324.10,200.00}},
    {"Foster Valley",               {-2178.60,-1115.50,0.00,-1794.90,-599.80,200.00}},
395 {"Foster Valley",               {-2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00}},// a linha й essa
    {"Frederick Bridge",            {2759.20,296.50,0.00,2774.20,594.70,200.00}},
    {"Gant Bridge",                 {-2741.40,1659.60,-6.10,-2616.40,2175.10,200.00}},
5365
pawn Код:
SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid, -1611.3754,675.2001,-4.9063,0.3768);//a linha й essa
            PlayerInfo[playerid][pInt] = 0;
            GivePlayerWeapon(playerid, 24, 100);
57913
pawn Код:
Antifloodxd2[playerid] = 0;
        }
    }
}//a linha й essa



Re: [Ajuda] Warning's - WLSF - 14.09.2011

pawn Код:
SetPlayerPos(playerid, -1611.3754,675.2001,-4.9063);
resolverб um warn,

o ъltimo й porque nгo estб sendo usado oque vocк definiu pode definir assim abaixo do new
pawn Код:
#pragma unused hqlock
, e o primeiro й foreach, nгo mecho com essa include :/


Re: [Ajuda] Warning's - Pharrel - 14.09.2011

SetPlayerPos(playerid, -1611.3754,675.2001,-4.9063,0.376;//a linha й essa

Aqui vc tem q usar sу X, Y, Z, c vc quiser setar o angulo tem q usar SetPlayerFacingAngle(playerid, Float:Angle);

pawn Код:
SetPlayerPos(playerid, -1611.3754,675.2001,-4.9063);
SetPlayerFacingAngle(playerid,0.3768);//ficaria assim...
a linha 395 й da include 'for' nao do seu GM...

e a ultima й sу vc achar a new hqlock; e deletar ela.


Re: [Ajuda] Warning's - Luks_Stronda - 14.09.2011

Sim Concordo Com O Pharrel.. Faзa Isso Que Pode Resolver !


Re: [Ajuda] Warning's - WLSF - 14.09.2011

Quote:
Originally Posted by Luks_Stronda
Посмотреть сообщение
Sim Concordo Com O Pharrel.. Faзa Isso Que Pode Resolver !
Criou conta no Fуrum pra ficar dando UP?


Re: [Ajuda] Warning's - Pharrel - 14.09.2011

Sim concordo com o William_Luigi.. Dar UP num й legal...


Re: [Ajuda] Warning's - Joao_VS - 15.09.2011

hsahsau concordo com todos assim como o Pharrel, como o willian, como todo mundo... (mente poluida ¬¬ ahusuhsauhsuha)