SA-MP Forums Archive
Little help? - 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: Little help? (/showthread.php?tid=647039)



Little help? - Longover - 28.12.2017

Hello!
How can I prevent this from showing up to my code?
I already know it's because the gamemode is too big, but tell me how to make it not be that big!
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           5684 bytes
Code size:           503264 bytes
Data size:          1266060 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4741 cells (18964 bytes)
Total requirements: 1791392 bytes



Re: Little help? - ThePhenix - 28.12.2017

Quote:
Originally Posted by Longover
Посмотреть сообщение
Hello!
How can I prevent this from showing up to my code?
I already know it's because the gamemode is too big, but tell me how to make it not be that big!
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           5684 bytes
Code size:           503264 bytes
Data size:          1266060 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4741 cells (18964 bytes)
Total requirements: 1791392 bytes
There are multiple things that could make the compiler show that message. It could happen if debugging is enabled.

It could also happen if your code is poorly written and you're using more space than you really should. I suggest you to read these tutorials to optimize your code:

https://sampforum.blast.hk/showthread.php?pid=3517039#pid3517039
https://sampforum.blast.hk/showthread.php?tid=480439

You shouldn't use #pragma dynamic to hide these warnings.