30.03.2015, 18:34
The dialog ID.
Each dialog has it's own dialogid, to be used in OnDialogResponse where you can script different functions for different dialog ID's.
Basically some people use
Which makes
The same as doing
Which is more organised, and less confusing.
However using an enumerator is even less confusing, as it applies the ID's(numbers) automatically.
Each dialog has it's own dialogid, to be used in OnDialogResponse where you can script different functions for different dialog ID's.
Basically some people use
pawn Код:
#define DIALOG_CMDS 1
pawn Код:
ShowPlayerDialog(playerid, 1, ...);
pawn Код:
ShowPlayerDialog(playerid, DIALOG_CMDS, ...);
However using an enumerator is even less confusing, as it applies the ID's(numbers) automatically.