SendClientMessagef (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: SendClientMessagef (format) (
/showthread.php?tid=69290)
SendClientMessagef (format) -
StrickenKid - 17.03.2009
i made this stock, but it will only work with 1 var, how would i make it so i can use as may as i want like "format" function
pawn Код:
stock SendClientMessagef(playerid,color,stringy[256],value)
{
new stri[256];
format(stri,sizeof(stri),stringy,value);
SendClientMessage(playerid,color,stri);
}
Re: SendClientMessagef (format) -
Kinetic - 17.03.2009
I dont think that is possible. I was going to do this before and had the same problem, and have not figured out a solution.
Re: SendClientMessagef (format) -
Sandra18[NL] - 17.03.2009
SendFormattedText(ToAll)