PDA

View Full Version : anyone knows what this error means?


jeremy8810
19/07/2012, 02:47 PM
Never saw this error before:

(1097) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 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?

[KHK]Khalid
19/07/2012, 02:48 PM
http://forum.sa-mp.com/showthread.php?t=274028

JakeMiller
19/07/2012, 02:49 PM
Indent your code and compile your new properly intented code.

Babul
19/07/2012, 03:03 PM
you got some huge arrays declared (local inside a callback):

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.

jeremy8810
19/07/2012, 03:16 PM
Thanks ! got it!