25.11.2012, 04:44
I am trying to organize my commands into dialog boxes but im sure there are too many to add in one line. Im not sure how to make it work to where all the commands are in one dialog message box. Help?
Code:
Code:
Код:
if(dialogid==1 && response==1) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, 5002, DIALOG_STYLE_MSGBOX, "General Commands", " (COMMANDS HERE) ", "Ok", "Exit"); } case 1: { ShowPlayerDialog(playerid, 5003, DIALOG_STYLE_MSGBOX, "Family Commands", " (COMMANDS HERE) ", "Ok", "Exit"); } case 2: { ShowPlayerDialog(playerid, 5004, DIALOG_STYLE_MSGBOX, "Faction Commands", " (COMMANDS HERE) ", "Ok", "Exit"); } } } return 1; }