Random number in a dialog text
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
pawn Код:
new randomnumber=rand(1000); //(0-999)
new str[19];
format(str, sizeof str, "Your number is %d", randomnumber);
ShowPlayerDialog(playerid, 700, DIALOG_STYLE_LIST, str, "Continue", "Leave");
This is what I was looking for, thanks!
Reply


Messages In This Thread
Random number in a dialog text - by Aerotactics - 18.07.2013, 16:39
Re: Random number in a dialog text - by Misiur - 18.07.2013, 16:42
Re: Random number in a dialog text - by Pottus - 18.07.2013, 16:45
Re: Random number in a dialog text - by Aerotactics - 18.07.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)