SA-MP Forums Archive
Help! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! (/showthread.php?tid=247684)



Help! - w84m3 - 10.04.2011

Hello! One day I was scripting as usual, but one time my compiling took 1 min instead of 5 sec and I thought it should be like that. Now I noticed that my amx file takes 70MB when other even longer scripts takes 7MB. What is the problem?? Please Help!!


Re: Help! - Sascha - 10.04.2011

check for your string definitions...
I guess you are using things like:
new string[500]; or new string[256];
when the string only has something like 10 chars...
additionally you could try to remove some objects out of your script and move them into a filterscript ;P


Re: Help! - w84m3 - 10.04.2011

Thank you a lot! I found my mistake..