SA-MP Forums Archive
How to display the character "%" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to display the character "%" (/showthread.php?tid=602585)



How to display the character "%" - Day_Jons - 09.03.2016

Tell me how can I show the character "%" in the dialog

Код:
new progress = 100, msg[50];
format(msg, 50, " Progress %d %", progress);
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, " ", msg, " ", " ");
I need to shown in the dialog

Код:
 Progress 100 %



Re: How to display the character "%" - CalvinC - 09.03.2016

Код:
format(msg, 50, " Progress %d %%", progress);