07.02.2017, 04:03
Quote:
Try this code instead, not tested.
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch (dialogid) { if(dialogid == 24) { if(!response) { SendClientMessage(playerid, -1, "You have closed this dialog."); } else { switch(listitem) { case 0: { new jm[170]; format(jm, sizeof jm, "Type your Message Here:"); ShowPlayerDialog(playerid, 97, DIALOG_STYLE_INPUT, "Change Message", jm, "Save", "Cancel"); } case 1: { SendClientMessage(playerid, -1, "Test 2nd dialog"); } } } } } return 1; } |