07.07.2018, 07:50
Basically y_dialogs can be used the same way as easyDialog:
pawn Код:
#define DIALOG:%1(%2) forward dlg_%1(%2);public dlg_%1(%2)
Код:
Dialog_ShowCallback(playerid, using callback dlg_login, DIALOG_STYLE_PASSWORD, "Login", "Type your password below:", "Login", "Leave");
pawn Код:
DIALOG:login(playerid, dialogid, response, listitem, string: inputtext[])
{
// code..
}