dialog?
#1

Is it possible to dialogs can be defined inside the enumerator?
Reply
#2

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 Код:
enum
{
    DIALOG_ONE,
    DIALOG_TWO,
    DIALOG_THREE
    DIALOG_AND_SO_ON
}
pawn Код:
#define DIALOG_ONE          (0)
#define DIALOG_TWO          (1)
#define DIALOG_THREE        (2)
#define DIALOG_AND_SO_ON    (3)
Reply
#3

Quote:
Originally Posted by Patrick
Посмотреть сообщение
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 Код:
enum
{
    DIALOG_ONE,
    DIALOG_TWO,
    DIALOG_THREE
    DIALOG_AND_SO_ON
}
pawn Код:
#define DIALOG_ONE          (0)
#define DIALOG_TWO          (1)
#define DIALOG_THREE        (2)
#define DIALOG_AND_SO_ON    (3)
Okey, thank you for a quick answer!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)