SA-MP Forums Archive
File to big - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: File to big (/showthread.php?tid=254908)



File to big - Scratch - 13.05.2011

ive buyd a host for one month, i use total commander to upload a GM, bud there is a problem, that is : file to big..

how to resize .amx file if is posible?


Re: File to big - __ - 13.05.2011

The size of an AMX increases based on what's added to your PAWN script.

Large array sizes are the main culprit for increasing the size of an AMX, there are quite a few other factors too - but you're much better off finding a permanent solution, AMXs hardly ever exceed 5mb.


Re: File to big - Scratch - 13.05.2011

well my .amx is over 5mb.....


Re: File to big - WarServers - 13.05.2011

If you have lots and lots of cars trying putting them in a FilterScript?


Re: File to big - Scratch - 13.05.2011

ok, ive got a lot of things that is not used....
hmm... to put them i FS, well im not advanced enough


Re: File to big - Scratch - 13.05.2011

ok, sry for doublepost...

ive got a lot of cars in my gaemodes, will someone tell me how to put them in filterscript?


Re: File to big - WarServers - 13.05.2011

Lots of TuTs on how to do that in the forum and wiki.


Re: File to big - Scratch - 13.05.2011

Quote:
Originally Posted by WarServers
Посмотреть сообщение
Lots of TuTs on how to do that in the forum and wiki.
i know, well im not lazy but i just cant find it


Re: File to big - Hiddos - 13.05.2011

It usually means you're using huge arrays/string sizes. Try reducing where possible.

I also recommend you to check this topic.


Re: File to big - Scratch - 13.05.2011

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
It usually means you're using huge arrays/string sizes. Try reducing where possible.

I also recommend you to check this topic.
ok, thank you very much, can you just tell me how do you mean to big string/arrays, i am learning pawn on other languge so...

and thanks for link, this will help me much