17.04.2017, 21:18
Well you can make it by switching listitems for example
Showing the dialog at cmd
After that at ondialogresponse
Showing the dialog at cmd
Код:
new string[128]; format(string,sizeof(string),"Level 1\nLevel 2\nLevel 3\nLevel 4\nLevel 5\nLevel 6"); ShowPlayerDialog(playerid,dialogid,DIALOG_STYLE_LISTITEM,"Admin Commands", string,"Okayer","Cancel");
Код:
if(dialogid == yourdialogid) { switch(listitem) { case 0: { //admin lvl 1 cmds here } case 1: { //admin lvl 2 etc } } }