Little string question. - 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: Little string question. (
/showthread.php?tid=362183)
Little string question. -
Dan. - 23.07.2012
If I do this:
pawn Код:
format(namestring, sizeof(namestring), "{FF0000}%s [ID: %d] {CCFFAA}|{FF0000} Level: %d - %s\n", GetName(i), playerid, PlayerInfo[i][pAdmin], GetAdminLevelName(i));
Will the colors in the dialog make the string size bigger?
Re: Little string question. -
FireCat - 23.07.2012
Of course
Re: Little string question. -
leonardo1434 - 23.07.2012
i don't really know,i never tested it myself, but give a try.
pawn Код:
new string[5];
format(string,5"{FF0000}hi");
SendClientMessage(playerid,-1,string);
@later.
Re: Little string question. -
Swyft™ - 23.07.2012
Nevermind
Useless post
Re: Little string question. -
Dan. - 23.07.2012
Got the answer now.. well yes it makes it bigger. Just I thought about it, because {FF0000} wont be printed when I use it in SendClientMessage etc.