Skip to content

OnPlayerLanded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerLanded( BasePlayer instance, float num )
{
    Puts( "OnPlayerLanded works!" );
}

Location

  • BasePlayer::ApplyFallDamageFromVelocity(float velocity)
csharp
//---
		Hurt(num3, DamageType.Fall);
		if (num3 > 20f && fallDamageEffect.isValid && !isInvisible)
		{
			Effect.server.Run(fallDamageEffect.resourcePath, base.transform.position, Vector3.zero);
		}
		Interface.CallHook("OnPlayerLanded", this, num);
	}
}

Released under the MIT License.