GetFallDamage(Player, number)

shared
Called when a player falls and fall damage is calculated.

Arguments

Returns

  • number override fall damage amount

Note: Returning is not required

Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.

Examples

hook GetFallDamage – "Called when a player falls and fall damage is calculated."