27.05.2018, 16:20
I write "/car" and open "dialog list" and click "Open Engine" and "CMD:engine" want the command to work.

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 ""
}
}
}
}
}