SA-MP Forums Archive
Concerns about the size of GM - 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: Concerns about the size of GM (/showthread.php?tid=453733)



Concerns about the size of GM - dEcooR - 26.07.2013

Hello everyone !

As am making my own game mode on SAMP,i decided that the size of GM is too much huge on " 14581 " lines.
Here i'll show you how much size got it?!

Forward am saying that i didn't use any strings like 256 or more.

PWN file - 535 KB
AMX file - 4,71 MB

As you can see that sizes are realy huge,my defined MAX_PLAYERS is only 100 so how i should "optimize" my game mode ?
I hope you will help me.

Thanks


Re: Concerns about the size of GM - ThePhenix - 26.07.2013

Check your arrays sizes.


Re: Concerns about the size of GM - dEcooR - 26.07.2013

i used max 1024 lol,but i mean example in dialogs..
which arays do you mean?


Re: Concerns about the size of GM - DeMoX - 26.07.2013

Hmm, i've 1.9mb on pwn file and 4 mb o amx file but it's alright


Re : Concerns about the size of GM - Vukilore - 26.07.2013

Don't forget you have include


Re: Concerns about the size of GM - dEcooR - 26.07.2013

lol Vukilore its true i got included nexts 3000 lines with objects but also its huge :S