08.12.2013, 11:42
(
Последний раз редактировалось newbie scripter; 14.12.2013 в 11:35.
)
Hi guys, how to loop an enum??
i mean
i have an enum like
Now i want to loop through RankXP and get the Rank Number And Name.
i mean:
if the XP or Score of player is in between the Rank XP i mentioned, i want to get the Rank Number of that Rank and also the Rank Name of it.
i mean
i have an enum like
pawn Код:
enum RankInfo
{
RankNumber,
RankName[128],
RankXP
}
new Ranks [] [RankInfo] =
{
// code
}
i mean:
if the XP or Score of player is in between the Rank XP i mentioned, i want to get the Rank Number of that Rank and also the Rank Name of it.