21.10.2012, 10:10
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:
And if one contact is missing, for example Contact 2, then dialog should be like this:
(It will not show Contact 2 then)
I hope you understand what i want to do.
Thanks,
Larry
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", "");
Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Contacts", "%s(Contact 1)\n%s(Contact 3)\n%s(Contact 4)\n%s(Contact 5)", "OK", "");
I hope you understand what i want to do.
Thanks,
Larry