Raised This Month: $51 Target: $400
 12% 

XP Percent


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ludak
Member
Join Date: Oct 2014
Old 08-25-2019 , 10:47   XP Percent
Reply With Quote #1

Hello everyone, I have a level system, and I want to display the percent of XP needed for the next level.

I have this formula for the leveling up:
PHP Code:
int CalculateXPint currentLevel )
    return 
currentLevel g_CvarXpMultiplier.IntValue
I have 2 variables for the player xp and level:
PHP Code:
int g_levelMAXPLAYERS ];
int g_xpMAXPLAYERS ]; 
Can someone give me a formula for that, I am not that good with the math?
Thank you.
Ludak is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode