Loop Help?
#1

Hi guys, how to loop an enum??
i mean
i have an enum like
pawn Код:
enum RankInfo
{
    RankNumber,
    RankName[128],
    RankXP
}

new Ranks [] [RankInfo] =
{
    // code
}
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.
Reply


Messages In This Thread
All my Questions - by newbie scripter - 08.12.2013, 11:42
Re: Loop Help? - by Voxel - 08.12.2013, 11:55
Re: Loop Help? - by newbie scripter - 08.12.2013, 12:30
Re: Loop Help? - by Voxel - 08.12.2013, 12:52
Re: Loop Help? - by newbie scripter - 08.12.2013, 12:58
Re: Loop Help? - by Voxel - 08.12.2013, 13:05
AW: Loop Help? - by Nero_3D - 08.12.2013, 13:11
Re: Loop Help? - by newbie scripter - 08.12.2013, 13:30
Re: Loop Help? - by Stevo127 - 08.12.2013, 13:40
Re: Loop Help? - by newbie scripter - 08.12.2013, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)