09.01.2018, 13:45
Yup, that's your problem. You need to set SVTDIALOG to be replaced with a (unique) number.
See https://sampwiki.blast.hk/wiki/ShowPlayerDialog - the example code box. You have three options
or consts, but that's not super important
See https://sampwiki.blast.hk/wiki/ShowPlayerDialog - the example code box. You have three options
pawn Код:
enum
{
DIALOG_LOGIN,
DIALOG_WELCOME,
DIALOG_WEAPONS
}
// Alternatively, using macros:
#define DIALOG_LOGIN 1
#define DIALOG_WELCOME 2
#define DIALOG_WEAPONS 3