Posts: 24
Threads: 10
Joined: Dec 2010
Reputation:
0
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!!
Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
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
Posts: 24
Threads: 10
Joined: Dec 2010
Reputation:
0
Thank you a lot! I found my mistake..