Quote Originally Posted by RobsoN View Post
This should work:
PHP Code:
level.rank[0] = 0;
max_rank 20;

for(
1<= max_ranki++)
{
    
level.rank[i] = level.rank[i-1] + 50*i

level.rank[RANK_VALUE] = shows you how many XP need for this rank.
Working perfectly, thanks!