12.04.2014, 19:51
Hello, is it possible to do this without having to format string twice? It does work like this but not good enough for me after reading ******'s tutorial about cell spaces 
You see where I had to make string and string2?
I cannot think of a way to only be able to format once.

pawn Код:
new string[128], string2[128];
format(string, sizeof(string), ""Pink"%s Banking", BankName(playerid)); // Dialog Header
format(string2, sizeof(string2), ""White"Your current account balance is "Green"$%d"White".", PlayerInfo[playerid][pBank]); // Dialog Content
ShowPlayerDialog(playerid, DIALOG_BALANCE, DIALOG_STYLE_MSGBOX, string, string2, "Close", ""); // Have to use two different strings.
I cannot think of a way to only be able to format once.

