Less lines, big mode, high KB. - 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: Less lines, big mode, high KB. (
/showthread.php?tid=454402)
Less lines, big mode, high KB. -
Activest - 28.07.2013
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?
Re: Less lines, big mode, high KB. -
2KY - 28.07.2013
Using a huge amount of cells in strings increase the size of the mode, same with loops, and includes.
Re: Less lines, big mode, high KB. -
Income - 28.07.2013
Search for strings that defined to be more than 128 chars at the script and switch them to 128 or less.
Re: Less lines, big mode, high KB. -
MP2 - 29.07.2013
https://sampforum.blast.hk/showthread.php?tid=57018
Re: Less lines, big mode, high KB. -
Activest - 29.07.2013
I'm using low cells, but I'm using variables like that:
Global[0] = true;
Global[1] = false;
Maybe that also do high KB?