14.05.2016, 09:35
"Make sure the dialog id isn't the same as password dialog id" - Oma37_
"#define DIALOG_FAX #define DIALOG_SREDNJA" - Recardo
What a retarded reply from both of you
-----
follow the Savana's (your) reply, but don't use the "#define bla" for the dialogs, you will end up being f*cked if you use filterscripts in your server and they use the same define names or the same dialog id number, so use the code that i have posted above (enumerating the dialog ids).
EDIT: use switch for dialog ids and listitems in the dialogs.
"#define DIALOG_FAX #define DIALOG_SREDNJA" - Recardo
What a retarded reply from both of you
-----
PHP код:
enum
{
DIALOG_SREDNJA,
DIALOG_FAX // you added a comma here
}
EDIT: use switch for dialog ids and listitems in the dialogs.