PHP Code:
public sh_client_death(victim, attacker, headshot)
{
if ( gHasHeadPower[attacker] && headshot == 1 )
{
set_user_health(attacker, gStartHealth[attacker])
}
}
It doesn't do anything at all with the armor, so I don't get how that can be it. That has to be another hero.
However, I think I can come up with a better way to get the clients max HP. I do not know by now when I get the time to update it.
__________________