PDA

View Full Version : Less lines, big mode, high KB.


Activest
28/07/2013, 07:31 PM
Hey.
I don't know why, but I'm trying to do less lines, but the KB is high for this mode.
I'm using few variables, but I see others modes, with 30,000 lines that has almost this KB amount.

What can causes the file be with high KB? there is any thread that I can see suggestions about it?

2KY
28/07/2013, 07:58 PM
Using a huge amount of cells in strings increase the size of the mode, same with loops, and includes.

Income
28/07/2013, 11:43 PM
Search for strings that defined to be more than 128 chars at the script and switch them to 128 or less.

new var[256];

MP2
29/07/2013, 12:20 AM
http://forum.sa-mp.com/showthread.php?t=57018

Activest
29/07/2013, 10:32 AM
I'm using low cells, but I'm using variables like that:
Global[0] = true;
Global[1] = false;
Maybe that also do high KB?