SA-MP Forums Archive
#pragma dynamic - 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: #pragma dynamic (/showthread.php?tid=548091)



#pragma dynamic - Banditukas - 27.11.2014

Hi,

Now i'am using pragma dynamic with value:

Код:
#pragma dynamic 5000000
Is it well for sa-mp server? my compilator don't give any error in the end and server is well. But what max value you can set that no problems will be?


Respuesta: #pragma dynamic - !R1Ch@rD! - 27.11.2014

You can put any value contal not leave you information about how much memory you use in your server, you can leave and I use it just as you have placed your !!


Re: #pragma dynamic - sammp - 27.11.2014

And why do you need a stack that big? Do you even know what that does?


Re: #pragma dynamic - Banditukas - 27.11.2014

Because i use a lot of variables and some of them with big strings, because i need that and ysi includes use a lot of memory.


Re: #pragma dynamic - Write - 27.11.2014

There is no limit, it is bad coding thought you shoulden't use big string arrays for small things.