Dialog_ShowCallback(playerid, using public Dialog_Login<iiiis>, DIALOG_STYLE_INPUT, "Login", "Enter Something", "Login", "Exit");
I have this line
and
forward Dialog_Login(playerid, response, listitem, inputtext[]);
public Dialog_Login(playerid, response, listitem, inputtext[]) {
if(response) {
SendClientMessage(playerid, -1, "Inputtext: %s", inputtext);
} else {
SendClientMessage(playerid, -1, "You've not responded!");
}
return 1;
}
The problem is, the response is always true, and there is no inputtext
(I am not sure if this is the right way of using Dialog_ShowCallback too hehe)