This should work:
level.rank[RANK_VALUE] = shows you how many XP need for this rank.PHP Code:
level.rank[0] = 0;
max_rank = 20;
for(i = 1; i <= max_rank; i++)
{
level.rank[i] = level.rank[i-1] + 50*i
}
This should work:
level.rank[RANK_VALUE] = shows you how many XP need for this rank.PHP Code:
level.rank[0] = 0;
max_rank = 20;
for(i = 1; i <= max_rank; i++)
{
level.rank[i] = level.rank[i-1] + 50*i
}
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
filthy_freak_ (9th March 2014),Ni3ls (9th March 2014),smect@ (9th March 2014)