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



One string for all - Silvarray - 26.09.2012

Could I have one string for all formatted client messages?
PAWN is single-threaded, right? Would there be any problems with this?


AW: One string for all - 'Pawno. - 26.09.2012

No, there isn't any problem!

i also use 1 string for all big dialogs. ^^


Re: One string for all - MarTaTa - 26.09.2012

You can use global string

means just use "new string[128];" out of any callbacks, but it's not recommended, specialy for me I'm using local vars for everything, the global strings are buggy sometimes