Stats Dialog
#1

So I'm in the middle of making a dialog box. I was wondering how you end up putting the information from a MySQL table into the dialog box? I've only found ways of doing it through chat.

Below is all I've put in so far, I know it's missing other things like what if they don't complete the code, I'm putting that in once I get this to work.

Код:
CMD:stats(playerid, params[])
{
    ShowPlayerDialog(playerid, StatsDialog, DIALOG_STYLE_MSGBOX, "Player Statistics",
        "VIP:\n\
        Admin:\n\
        Name:\n\
        Age:\n\
        Gender:\n\
        Date of Birth:\n\
        Phone Number:\n\
        Armour:\n\
        Health:\n\
        \n\
        Level:\n\
        Playing Hours:\n\
        Total Wealth:\n\
        Money:\n\
        Bank:\n\", "Close", "");
}
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: 3 Guest(s)