21.12.2013, 20:58
I have this enum;
Pretty standard, but I'm trying to access the amount of cells in "WeaponKills" which is currently 46.
I was going to do it like this;
But obviously since I'm here, it doesn't work. How would I go about doing that?
pawn Код:
enum pVars
{
Password[129],
Admin,
WeaponKills[46]
}
new
PlayerInfo[MAX_PLAYERS][pVars],
bool: is_logged[MAX_PLAYERS];
I was going to do it like this;
pawn Код:
for(new i; i < sizeof(PlayerInfo[playerid][WeaponKills]); i++)
{
}