y_inline and y_dialog, inline not getting called. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: y_inline and y_dialog, inline not getting called. (
/showthread.php?tid=574919)
y_inline and y_dialog, inline not getting called. -
RaeF - 22.05.2015
Need help, inline not getting called
It just print
Debug: Called 3
Debug: Called 1
Debug: Called
and Lel doens't getting called.
But the Dialog show up.
Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
print("Debug: CAlled 3");
if(playertextid == textdraw_panel_player[playerid][5])
{
print("Debug: CAlled 1");
inline Response(pid, dialogid, response, listitem, string:inputtext[])
{
#pragma unused pid, dialogid, response, listitem, inputtext
print("Lel");
}
print("Debug: CAlled");
Dialog_ShowCallback(playerid, using inline Response, DIALOG_STYLE_INPUT, "Masukan password baru", "Masukan password baru akun anda dibawah ini:", "Ok", "Batal");
}
return 1;
}
But when use standar ( Not using inline ), it's called.