14.04.2013, 17:06
Hi,
I have two teams, Teams are set to a player variable, (pTeam).
The Team IDs are 1 and 2.
Each team has a selection of 3 Skin choices, these skins are normal skin IDs.
I am trying to find a way to create a way to read skins that are available in specific variables, and I have no idea how to do that, I know it might sound silly, but I can't figure out how to do this.
I've tried with an enumerator by going:
But the result that I want is to be able to type
TeamSkin[8][TeamID][EntryNumber between 0 and 3] and get get the relevant Skin ID.
Thanks, please let me know if I have not been clear.
Regards
Matt
I have two teams, Teams are set to a player variable, (pTeam).
The Team IDs are 1 and 2.
Each team has a selection of 3 Skin choices, these skins are normal skin IDs.
I am trying to find a way to create a way to read skins that are available in specific variables, and I have no idea how to do that, I know it might sound silly, but I can't figure out how to do this.
I've tried with an enumerator by going:
pawn Код:
enum e_SkinDetails {
TeamId,
SkinId
}
new TeamSkin[8][e_SkinDetails] {
{1, 110},
{1, 109},
{1, 144},
{1, 173}
{2, 287},
{2, 285},
{2, 121},
{2, 284}
}
TeamSkin[8][TeamID][EntryNumber between 0 and 3] and get get the relevant Skin ID.
Thanks, please let me know if I have not been clear.
Regards
Matt