Class
#5

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:

pawn Код:
#define ClassFireman 1

This is wrong:

pawn Код:
new ClassFireman = 1;
Reply


Messages In This Thread
Class - by DerickClark - 02.02.2013, 17:08
Re: Class - by T0pAz - 02.02.2013, 17:11
Re: Class - by DerickClark - 02.02.2013, 17:13
Re: Class - by iManakoss - 02.02.2013, 18:45
Re: Class - by SuperViper - 02.02.2013, 20:15

Forum Jump:


Users browsing this thread: 2 Guest(s)