enums..
#1

Is something like this possible?

pawn Код:
enum pVars
{
                        //snip.
            ClassWeapon [ MAX_CLASSES ] [ MAX_TEAMS ],
                        //snip.
}
Where "MAX_CLASSES" is defined as 3 (0,1,2) and "MAX_TEAMS" is defined as 2 (0,1). It's currently giving me an error

Quote:

my.pwn(130) : error 001: expected token: "}", but found "["

If someone could point me in the right direction, that'd be great.
Reply


Messages In This Thread
enums.. - by 2KY - 18.08.2012, 01:44
Re: enums.. - by leonardo1434 - 18.08.2012, 01:47
Re: enums.. - by 2KY - 18.08.2012, 01:48
Re: enums.. - by Arca - 18.08.2012, 01:49

Forum Jump:


Users browsing this thread: 1 Guest(s)