In the Client class under the initialize() method add:
//Hitpoints
//PrayerCode:playerLevel[3] = getPA().getLevelForXP(playerXP[3]);
Code:playerLevel[5] = getPA().getLevelForXP(playerXP[5]);
|
I would like to make it when you login your health and prayer will be restored, don't know how to write out code, or know where it goes.
If you do, please post will help me and a lot others out!
And no, this isn't for a NR remake.
In the Client class under the initialize() method add:
//Hitpoints
//PrayerCode:playerLevel[3] = getPA().getLevelForXP(playerXP[3]);
Code:playerLevel[5] = getPA().getLevelForXP(playerXP[5]);
I got a error, don't worry about it thank you for posting this.
Yeah sorry remove the "c." cause already in Client class, I fixed it on the reply.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |