04.08.2014, 03:00
If you use a define to define the dialog, it just means you don't have to remember the dialogid in future. So if you have:
It means that you can always use "DIALOG_QUESTION1" when referring to dialogid 1, it's helpful when you have hundreds of dialogs. Just imagine if you had 50 dialogs before the questions, and then you had question1 which was dialogid 62, you would just need to remember "question1" instead of 62.
pawn Код:
#define DIALOG_QUESTION1 1
#define DIALOG_QUESTION2 2