TActivePlayer.OnDamage

property OnDamage Access mode: RW Event handler type: TOnDamageEvent Event handler declaration: function (Shooter, Victim: TActivePlayer; Damage: Integer; BulletID: Byte): Integer

Description
Event property called when a player is hurt, whether from a killing poly, bullet or command.

Example
Example ignores all damage dealt, players become invincible.