Strings Optimize ? - 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: Strings Optimize ? (
/showthread.php?tid=499099)
Strings Optimize ? -
anou1 - 06.03.2014
Hi,
I wanted to know what is better between this:
-For every command I create, do new string[sizeIwant]
Or
-I do something like this: new string[128] at the top of my GM.
Could you please explain me what's the differences, and what should I use.
Thank you !
Re: Strings Optimize ? -
ColeMiner - 06.03.2014
This has been covered MANY times and I can't be bothered to type it all out again. Use locals.
Re: Strings Optimize ? -
anou1 - 06.03.2014
Okay, sorry I will try to search on forum to find the reason
Thank you !