anyone knows what this error means?
#1

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?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=274028
Reply
#3

Indent your code and compile your new properly intented code.
Reply
#4

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.
Reply
#5

Thanks ! got it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)