GM:EntityTakeDamage
Description
Called when an entity is about to take damage. You can modify all parts of the damage info in this hook or completely block the damage event.
See GM:PostEntityTakeDamage if you wish to hook the final damage event.
Applying damage from this hook to the entity taking damage will lead to infinite loop/crash.
Arguments
Returns
Example
Explosion damage is reduced to players only.
Example
Players in vehicles takes halved damage.