View Full Version : Restore-Health command? :confused:
Conmiro
June 28th, 2010, 08:04
::restorehealth
I'm trying to set the playeres health to 100
I tried using p.Health but that didin't work.
Some help please?
Sonicforce41
June 28th, 2010, 13:29
Um.. Are you trying to change from 99 to 100 as the max level for players or just hp?
If you want, you have to fine the skill id and make a command that updates there account to 100hp without relog.
i can give you the command, if you want. let me make it for you.
if (cmd[0].equalsIgnoreCase("restorehealth")) {
for(Player pl : Engine.players) {
if (pl != null) {
pl.skillLvl[3] = 100;
pl.getActionSender().setSkillLvl(p, 3);
pl.appearanceUpdateReq = true;
pl.updateReq = true;
}
}
}
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.