Array warning, I think [rep + for solution] - 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)
+--- Thread: Array warning, I think [rep + for solution] (
/showthread.php?tid=447316)
Array warning, I think [rep + for solution] -
AntonioCroatia - 29.06.2013
Hi, I was making something for my GM, it's big GM, anyway I think this is showing because array after I compile my GM
pawn Код:
Header size: 11880 bytes
Code size: 814876 bytes
Data size: 7201744 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4123 cells (16492 bytes)
Total requirements: 8044884 bytes
So anybody know how to increase it? or anything how to fix it?
Re: Array warning, I think [rep + for solution] -
Jstylezzz - 29.06.2013
You're assinging a lot of cells to arrays. Try decreasing them where possible. The alternative is using
pawn Код:
#pragma dynamic 8044884 //the total requirements
Re: Array warning, I think [rep + for solution] -
AntonioCroatia - 29.06.2013
Quote:
Originally Posted by Jstylezzz
You're assinging a lot of cells to arrays. Try decreasing them where possible. The alternative is using
pawn Код:
#pragma dynamic 8044884 //the total requirements
|
That helped me a lot, Thanks a lot

I was decrease everywhere it is possible