For what is the number after #define NAME ?
#1

So for what is that number ?Example:
#define dialog1 3
Reply
#2

That means that either you type 3 or dialog1 will be the same thing (an integer).
Reply
#3

Dialogid is 3, and you use #define to somehow rename it.
If you do:
pawn Код:
if(dialogid == 3)
It is the same as doing:
pawn Код:
if(dialogid == dialog1)
Reply
#4

Thx you guys !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)