Stats Dialog
#3

Do you understand how to display variable data in a string? Such as playernames? If you do then this is pretty basic stuff that you're dealing with.

Код:
new playerbase = 100,string[250]; // Data that we're storing & the string. We use 250 as I assume there's alot of statistics to show.
format(string,sizeof(string),"Our playerbase reached %d today.",playerbase); // Formatting the data into an interger
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Caption",string,"Close",""); // Displaying the formatted data
Reply


Messages In This Thread
Stats Dialog - by BR3TT - 06.06.2015, 01:58
Re: Stats Dialog - by J0sh... - 06.06.2015, 02:30
Re: Stats Dialog - by C4SH - 06.06.2015, 02:36

Forum Jump:


Users browsing this thread: 1 Guest(s)