Skip to content

OnPlayerSleepEnd

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • BasePlayer::EndSleeping()
csharp
//---
{
	if (!this.IsSleeping())
	{
		return;
	}
	if (Interface.CallHook("OnPlayerSleepEnd", this) != null)
	{
		return;
	}
	if (this.IsRestrained)
	{
//---

Released under the MIT License.