Detect something what was previous.
Is that correct 0_0 ? ,I just need get Last/Old Level before giving him new one(PlayerLevel[id] += 1;).
PHP Code:
|
Re: Detect something what was previous.
Just as a note, you need to find a way to know if the player should level up 1 level or more than 1, according to his exp. If his exp is bigger than the XP needed for few levels above him, he will only level up 1 level...
About saving last level, just save his current level before adding levels to it. PHP Code:
|
Re: Detect something what was previous.
Quote:
PHP Code:
|
Re: Detect something what was previous.
You can do this:
PHP Code:
|
| All times are GMT -4. The time now is 02:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.