SA-MP Forums Archive
string - 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: string (/showthread.php?tid=619740)



string - Micko123 - 21.10.2016

Is it good idea to have something like this
PHP код:
new globalstring[128
at top of GM. And at every command instead of making
PHP код:
new string[50
to format globalstring.

Will that affect memory and if yes how much??


Re: string - SickAttack - 21.10.2016

It's best to do it where you need it as you are able to specify the amount of cells.


Re: string - Micko123 - 21.10.2016

Okay.. Because this GM i am edditing is using globalstring and SCMF.. So I want to optimize it as much as I can. Thx for the answer