02.02.2013, 20:15
Also, if you do define the variable, it needs to be a part of the pre-processor also known as #define. You can't use non-constant values in a case statement. Example:
This is fine:
This is wrong:
This is fine:
pawn Код:
#define ClassFireman 1
This is wrong:
pawn Код:
new ClassFireman = 1;