22.05.2015, 00:09
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.
But when use standar ( Not using inline ), it's 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; }