OnPlayerLanded
Usage
- No return behavior
Example Autogenerated
csharp
private void OnPlayerLanded( BasePlayer instance, float num )
{
Puts( "OnPlayerLanded works!" );
}
Location
- BasePlayer::ApplyFallDamageFromVelocity(float velocity)
csharp
//---
base.Hurt(num2, Rust.DamageType.Fall, null, true);
if (num2 > 20f && this.fallDamageEffect.isValid)
{
Effect.server.Run(this.fallDamageEffect.resourcePath, base.transform.position, Vector3.zero, null, false, null);
}
Interface.CallHook("OnPlayerLanded", this, num);
}