how to format? - 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: how to format? (
/showthread.php?tid=127767)
how to format? -
sebacol - 14.02.2010
How can I format more values at once??
like: "some text", var1, "text2", text3, "text4",...
Re: how to format? -
Niixie - 14.02.2010
easy
pawn Код:
format(string, sizeof(string), "%i %s %s %s", var1, text1, text2,text3");
then %i will show what you have in var1
and %s will show what you have in text1-3