Skip to content

CanRagdollDismount

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? CanRagdollDismount( BaseRagdoll instance, BasePlayer player )
{
    Puts( "CanRagdollDismount works!" );
    return null;
}

Location

  • BaseRagdoll::AllowPlayerInstigatedDismount(BasePlayer player)
csharp
public override bool AllowPlayerInstigatedDismount(BasePlayer player)
{
	object obj = Interface.CallHook("CanRagdollDismount", this, player);
	if (obj is bool)
	{
		return (bool)obj;
	}
	return false;
//---

Released under the MIT License.