public OnDialogResonse(playerid, dialogid, response, listitem, inputtext[]) {
if (dialogid == dialog_id_here) {
if (response) {
switch (listitem) {
case engine_case_number: {
return cmd_engine(playerid, ""); // if the command do not have a "params[]", then remove ""
}
}
}
}
}