SA-MP Forums Archive
Curious Question - 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: Curious Question (/showthread.php?tid=293476)



Curious Question - Buzzbomb - 28.10.2011

Okay I have about 9500 Lines My Pawn Size Is 438kb and my amx is 2,276mb Thats a big AMX... Am I adding to much somewhere for 9k lines ....


Re: Curious Question - Zonoya - 28.10.2011

The AMX is always bigger than the pwn like my pwn file is 10mb and my AMX is 100.30mb the more u add it has to compile it down and down and down and down etc to as small as it can and when it gets to the smallest size thats the AMX its simple logic :P its nothing to worry about though the worst it can do is slow down ur compiling


Re: Curious Question - [MWR]Blood - 28.10.2011

IMO it's not that big, it's even decent for 9500 lines.
However, you can reduce the AMX size by doing a reduction of string sizes.

Quote:
Originally Posted by Zonoya
Посмотреть сообщение
its nothing to worry about though the worst it can do is slow down ur compiling
Very wrong.
You must learn more about strings.


Re: Curious Question - GangsTa_ - 28.10.2011

Download this plugin - http://solidfiles.com/d/457f/
Allows you to create dynamic memories etc.


Re: Curious Question - Buzzbomb - 28.10.2011

I looked at the Raven game mode it has 71k lines and its at a 3mb size.. come on thats funny..


I think it might be my strings as well.. maybe adding to much for something that dont use that much in the string..


Re: Curious Question - Kingunit - 28.10.2011

Don't use more then 128 if you don't have a reason. Use 24 for names.


Re: Curious Question - Buzzbomb - 28.10.2011

wish there was a Simple Way of Just doing it like string[Whateversizeitneeds] name[Whateverthenamesizeis] get what im saying.. So we wouldnt half to use string[256] string128] string[50] or any number it would go with the size it would need..