.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)
+--- Thread: .amx size (
/showthread.php?tid=559442)
.amx size -
iBots - 23.01.2015
Well,i got a problem,each time i add anything and compile my amx size increases alot,like the .pwn is 2000 kb and .amx is 14000 kb,What causes this?and how can the .amx file affect to the gameplay ingame?
Re: .amx size -
CrazyChoco - 23.01.2015
Usually when I compile a gamemode, my target is to have the AMX below the size of the pwn. The effects of having a huge amx is probably, that it takes longer time to compile perhaps? Correct me, if i'm wrong.
Re: .amx size -
SV - 23.01.2015
Hi,
You need to make fast-optimization which means editing strings and make it lower, example from 256 to 128.
Check in what MAX_PLAYERS is redefined to use this.
pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS (30)
If you are lucky enough you may have both files having the same size, in some cases .amx file is lower than .pwn
Re: .amx size -
Pottus - 23.01.2015
This is very frivolous and you shouldn't worry about it.