03.12.2015, 14:42
Is it possible to dialogs can be defined inside the enumerator?
enum
{
DIALOG_ONE,
DIALOG_TWO,
DIALOG_THREE
DIALOG_AND_SO_ON
}
#define DIALOG_ONE (0)
#define DIALOG_TWO (1)
#define DIALOG_THREE (2)
#define DIALOG_AND_SO_ON (3)
Yes. I suggest you use enum because you don't have to number them 1 by 1, itself does it whereas macros/definition you have to add values next to it so the dialogs won't conflict.
pawn Код:
pawn Код:
|