enums, arrays halp.
#4

Took me a while to see this, but I just remembered that if you create a named enum, you essentially tag its members with that name. With that knowledge, you can either do:

pawn Код:
PlayerGates[pGates:i]
or
pawn Код:
PlayerGates[_:i]
or
pawn Код:
for(new pGates:i = 0; i != 6; ++i) {
Whichever you prefer.
Reply


Messages In This Thread
enums, arrays halp. - by BigGroter - 24.03.2013, 13:59
Re: enums, arrays halp. - by LarzI - 24.03.2013, 14:02
Re: enums, arrays halp. - by BigGroter - 24.03.2013, 14:05
Re: enums, arrays halp. - by Vince - 24.03.2013, 14:09
Re: enums, arrays halp. - by LarzI - 24.03.2013, 14:10
Re: enums, arrays halp. - by BigGroter - 24.03.2013, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)