You could easily add them with the mod, but it seems these variables exist:
function MaxHealth_registerVariables()
{
if(isPackage(VCE_Main))
{
registerSpecialVar(Player,"health","%this.getHealth()");
registerSpecialVar(Player,"maxhealth","%this.getMaxHealth()");
registerSpecialVar(Vehicle,"health","%this.getHealth()");
registerSpecialVar(Vehicle,"maxhealth","%this.getMaxHealth()");
}
}
We can make the same ones, except it sets them. You can replace this code with
function MaxHealth_registerVariables()
{
if(isPackage(VCE_Main))
{
registerSpecialVar(Player,"health","%this.getHealth()","setHealth");
registerSpecialVar(Player,"maxhealth","%this.getMaxHealth()","setMaxHealth");
registerSpecialVar(Vehicle,"health","%this.getHealth()","setHealth");
registerSpecialVar(Vehicle,"maxhealth","%this.getMaxHealth()","setMaxHealth");
}
}
At the moment I am lazy to even fix up the health add-on