Entity:OnTakeDamage(Entity, DamageInfo)
server
Arguments
- entity Entity
- damageInfo DamageInfo
Returns
- integer 0 if no damage is taken, or it was fatal. 1 Otherwise
Examples
Entity:OnTakeDamage – On take damage.