char in an multi-d array - how to set?
#1

I have an enum
Код:
enum PlayerWeapons_t
{
    .....
   Weapons[MAX_PLAYER_WEAPONS char]
}
Код:
static PlayerWeapons[MAX_PLAYERS][PlayerWeapons_t];
How do I set an element in the array?

I tried this
PlayerWeapons[i][Weapons]{1} = 0;

^^Gives an error

^^ looks crap but how do I set a value?
Reply
#2

bump
Sorry!
Reply
#3

bump
Reply
#4

You cannot do this with enums.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)