Dialog (Info from mysql)
#1

Hello

I`m trying to make phonebook system. If i write cmd, then i would like to see dialog with my stats come from mysql.
So how i display that?

Dialog should be like this:
Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Contacts", "%s(Contact 1)\n%s(Contact 2\n%s(Contact 3)\n%s(Contact 4)\n%s(Contact 5)", "OK", "");
And if one contact is missing, for example Contact 2, then dialog should be like this:

Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Contacts", "%s(Contact 1)\n%s(Contact 3)\n%s(Contact 4)\n%s(Contact 5)", "OK", "");
(It will not show Contact 2 then)


I hope you understand what i want to do.

Thanks,
Larry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)