#Hey am I using y_dialogs wrong? (SOLVED)

7 messages · Page 1 of 1 (latest)

formal plank
#

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)

#

OUTPUT:

Inputtext: 
proven cedar
#

he doesn't,

inline Inline(response, listitem, string:inputtext[])
{
}
Dialog_ShowCallback(playerid, using inline Inline, "Title", "Caption", "Button 1");
proven cedar
formal plank
#
forward Dialog_Login(playerid, dialogid, response, listitem, inputtext[]);
public Dialog_Login(playerid, dialogid, response, listitem, inputtext[]) {
#

is this the right order @inner vigil ?

#

Okay, it works now, thank you!