Skip to content

OnPlayerRecovered

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerRecovered( BasePlayer instance )
{
    Puts( "OnPlayerRecovered works!" );
}

Location

  • BasePlayer::RecoverFromWounded()
csharp
//---
	this.SetPlayerFlag(BasePlayer.PlayerFlags.Incapacitated, false);
	if (BaseGameMode.GetActiveGameMode(base.isServer))
	{
		BaseGameMode.GetActiveGameMode(base.isServer).OnPlayerRevived(null, this);
	}
	Interface.CallHook("OnPlayerRecovered", this);
}

Released under the MIT License.