# XP out of # XP
Hello, i have XP mod:
http://screenshot.cz/JAL0Z/2013-08-24_00004.jpg And i need help with it. I want to see, how many XP do i need to LVL. Just like: [XP: 99999/100000] Here is a part of code, to show HUD. PHP Code:
|
Re: # XP out of # XP
formatex(szText, sizeof(szText) -1, "[%s]^n[XP : %i/%i]^n[Buy XP = /buyxp]", Prefix[Level[id]], eXP[id], VariableThatContainsXPForAllLevels[ Level[id] + 1 ])
There's a macro called charsmax() replacing sizeof()-1. |
Re: # XP out of # XP
Quote:
PHP Code:
Should it be like that? PHP Code:
//EDIT : WORKS! Now i need to know how to construct the code "on level up". Just like on lvl up = say "player has leveled up to 50" |
Re: # XP out of # XP
PHP Code:
|
All times are GMT -4. The time now is 11:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.