SA-MP Forums Archive
easy question - easy ! - 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: easy question - easy ! (/showthread.php?tid=582594)



easy question - easy ! - noamch1997 - 21.07.2015

ShowDialogToPlayer(playerid, 16, DIALOG_STYLE_LIST, "бзш фтемд", "asdasd\n asdasd\n %d", "бзш", "йцйад");

I want to put FormatMoney(BankLimit[UserData[playerid][PLevel]][1]) on %d



tyyyyyyy


Re: easy question - easy ! - Lynn - 21.07.2015

pawn Код:
new string[128];
format(string, sizeof(string), "бзш фтемд", "asdasd\n asdasd\n %d",FormatMoney(BankLimit[UserData[playerid][PLevel]][1]))
ShowDialogToPlayer(playerid, 16, DIALOG_STYLE_LIST, "бзш фтемд", string, "бзш", "йцйад");