Skip to main content

OnPlayerHealthChange

Usage​

  • Called just before the player's health changes
  • Return a non-null value to override the health change

Examples​

""
object OnPlayerHealthChange(BasePlayer player, float oldValue, float newValue)
{
Puts("OnPlayerHealthChange works!");
return null;
}