SA-MP Forums Archive
2 Warnings. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 2 Warnings. (/showthread.php?tid=214260)



2 Warnings. - Janek17 - 20.01.2011

Код:
C:\Documents and Settings\Janek\Desktop\FreeStyle RolePlay\gamemodes\FSRP.pwn(45660) : warning 203: symbol is never used: "gCopPlayerSpawns"
C:\Documents and Settings\Janek\Desktop\FreeStyle RolePlay\gamemodes\FSRP.pwn(45660) : warning 203: symbol is never used: "gMedPlayerSpawns"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           9132 bytes
Code size:          1712956 bytes
Data size:         10438956 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12177428 bytes

2 Warnings.
Код:
new Float:gCopPlayerSpawns[2][3] = {
{216.9725,79.1339,1005.0391},
{219.8852,75.5487,1005.0391}
//{614.8,-608.2,17.2},
//{611.5,-607.8,17.2}
};

new Float:gMedPlayerSpawns[2][3] = {
{1178.1,-1321.0,14.1},
{1177.7,-1325.0,14.0}
};



Re: 2 Warnings. - TheYoungCapone - 20.01.2011

its self explanatory you dont use gCopPlayerSpawns and gMedPlayerSpawns.


Re: 2 Warnings. - Rock18 - 20.01.2011

You can delete this
Код:
new Float:gCopPlayerSpawns[2][3] = {
{216.9725,79.1339,1005.0391},
{219.8852,75.5487,1005.0391}
//{614.8,-608.2,17.2},
//{611.5,-607.8,17.2}
};

new Float:gMedPlayerSpawns[2][3] = {
{1178.1,-1321.0,14.1},
{1177.7,-1325.0,14.0}
};
because is never used in any function


Re: 2 Warnings. - admantis - 20.01.2011

pawn Код:
Header size:           9132 bytes
Code size:          1712956 bytes
Data size:         10438956 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12177428 bytes
This is very important for your server perfomance and itmeans you're using oversized cells. Read 'Why not to use 256' by ******.


Re: 2 Warnings. - Janek17 - 20.01.2011

Reparied tnx all!