SA-MP Forums Archive
[AJUDA] 8 warnings - 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] 8 warnings (/showthread.php?tid=263899)



[AJUDA] 8 warnings - Gabriielpeters - 23.06.2011

d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMG.pwn(11872) : warning 204: symbol is assigned a value that is never used: "portaoCV"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMG.pwn(11874) : warning 204: symbol is assigned a value that is never used: "portaoballas"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMG.pwn(11870) : warning 204: symbol is assigned a value that is never used: "portaogroove"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMC.pwn(1187 : warning 204: symbol is assigned a value that is never used: "portaopc1"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMC.pwn(11880) : warning 204: symbol is assigned a value that is never used: "portaopc2"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMC.pwn(11876) : warning 204: symbol is assigned a value that is never used: "portaopcc"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMC.pwn(11882) : warning 204: symbol is assigned a value that is never used: "portaotal1"
d:\Users\Gabriel\Desktop\GMS\server - Cуpia\gamemodes\BMC.pwn(11884) : warning 204: symbol is assigned a value that is never used: "portaotal2"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 10584 bytes
Code size: 1971988 bytes
Data size: 2571240 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 4570196 bytes

8 Warnings.


Re: [DUV] 8 warnings [AJUDA] - ViCtOr_Mc - 23.06.2011

Passa linha dos Warning, nгo temos bola de Cristal


Re: [DUV] 8 warnings [AJUDA] - Gabriielpeters - 23.06.2011

//PORTГO GROOVE
portaogroove = CreateObject(980, 2465.3840332031, -1659.5524902344, 15.087257385254, 0, 0, 0);
//PORTГO CV
portaoCV = CreateObject(980, 2185.8542480469, 1782.0814208984, 15.141891479492, 0, 0, 0);
// Portгo Ballas
portaoballas = CreateObject(980, 1151.412109375, -1215.8670654297, 20.038352966309, 0, 0, 0);
//Portгo PCC
portaopcc = CreateObject(980, 1337.6864013672, -912.46447753906, 37.657913208008, 0, 0, 0);
// Portгo PC1
portaopc1 = CreateObject(980, 923.67498779297, -1225.2847900391, 18.744270324707, 0, 0, 0);
//Portгo PC2
portaopc2 = CreateObject(980, 923.91278076172, -1216.0906982422, 18.749954223633, 0, 0, 0);
//Portгo Taliban 1
portaotal1 = CreateObject(980, 2720.375, -2405.0168457031, 15.234329223633, 0, 0, 0);
//Portгo Taliban 2
portaotal2 = CreateObject(980, 2719.8125, -2503.5261230469, 15.260288238525, 0, 0, 0);


Re: [DUV] 8 warnings [AJUDA] - Shadoww5 - 24.06.2011

Basta tirar o que tб antes do CreateObject(...).

Ex:

PHP код:
portaogroove CreateObject(9802465.3840332031, -1659.552490234415.087257385254000);

Ficarб assim:

CreateObject(9802465.3840332031, -1659.552490234415.087257385254000); 



Re: [DUV] 8 warnings [AJUDA] - [AF]Junior - 24.06.2011

Tб dizendo que vocк nгo estб usando as variбveis: portaogroove, portaoCV, portaoballas, portaopcc, porcaopc1, portaopc2, portaotal1, portaotal2.

Sу remove-las.


Re: [DUV] 8 warnings [AJUDA] - TheGarfield - 24.06.2011

bota embaixo dos objectos:

pawn Код:
#pragma unused portaogroove
#pragma unused portaoCV
#pragma unused portaoballas
#pragma unused portaopcc
#pragma unused porcaopc1
#pragma unused portaopc2
#pragma unused portaotal1
#pragma unused portaotal2