anyone knows what this error means? - 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: anyone knows what this error means? (
/showthread.php?tid=360949)
anyone knows what this error means? -
jeremy8810 - 19.07.2012
Never saw this error before:
Код:
(1097) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 9480 bytes
Code size: 969968 bytes
Data size: 3044740 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4142 cells (16568 bytes)
Total requirements: 4040572 bytes
1 Warning.
Anyone know how to fix it? O should I just let it there?
Or is the script to big?
Re: anyone knows what this error means? -
[KHK]Khalid - 19.07.2012
https://sampforum.blast.hk/showthread.php?tid=274028
Re : anyone knows what this error means? -
JakeMiller - 19.07.2012
Indent your code and compile your new properly intented code.
Re: anyone knows what this error means? -
Babul - 19.07.2012
you got some huge arrays declared (local inside a callback):
pawn Код:
new Array[MAX_PLAYERS][256];
or you got a bunch of if/else if's in a row.
to enlarge your stack/heap size, goto the pawno editors' menu "Build" > "Run options", search for the box "With these parameters...", and change the "-r" to "-r -S8192", or better "-r -S16384" when required.
Re: anyone knows what this error means? -
jeremy8810 - 19.07.2012
Thanks ! got it!