07.01.2012, 18:03
Can I use for example:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case Dialog1: { if(response) { switch(listitem) { case 0://When he clicks on first item { // Can I use here: "ShowPlayerdialog(playerid, "/weapon dialog id here" ----------); } case 1://When he clicks on second item { //open the next dialog. } } } } case "/weapon dialog id here": { // Stuff here. } } return 1; }