if(dialogid == dialogID) { if(response == 1) { //do something here } else { ShowPlayerDialog(playerid, dialogID, DIALOG_STYLE_INPUT, "blalala:", "blalalal", "Okay","Quit"); } }