SA-MP Forums Archive
Easy strings? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Easy strings? (/showthread.php?tid=243019)



Easy strings? - [NRP]Blade - 21.03.2011

I was doing some searching and couldn't find much. So is there a way a could make something like :
Код:
SendLocalMessage(color, distance, string[], (and varibles here like %s));
As i have SendLocalMessage, but it would be easier instead of using format. So anyone have anything?


Re: Easy strings? - [NRP]Blade - 21.03.2011

Yea i know i have many times, but i meant for merging the format and ProxDetector into 1.


Re: Easy strings? - [NRP]Blade - 21.03.2011

I meant like when i use
Код:
SendLocalMesage(WHITE, 10, "**%s %s**", sendername, params);
I cant do that cause the varible's, that's what i'm trying to accomplish