AMX size - 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: AMX size (
/showthread.php?tid=123622)
AMX size -
pierhs - 26.01.2010
My amx size is 1.96mb and my script is around 33.000 lines but I saw that Vortex RP which is almost 22.000 lines its amx size is around 800kb.
I dont use any include except from the basic and also I saw that Vortex RP script uses sscanf and many cmds are smaller than mine.But is it possible to have an almost 3 times bigger amx with a 11.000 lines difference? Is there anyway to make my amx smaller? (I recently used this #undef MAX_PLAYERS #define MAX_PLAYERS 50 and my amx went to 1mb but I want some results without changing the MAX_PLAYERS)
Re: AMX size -
SlashPT - 26.01.2010
are you using any streamer??
Re: AMX size -
pierhs - 26.01.2010
No i dont
Re: AMX size -
SlashPT - 26.01.2010
maybe you have more string than what is recommended you dont have much things like new blabla[256]; this can be one cause
Re: AMX size -
pierhs - 26.01.2010
No i dont use big strings.The max is 128