Skip to content

OnPlayerSleepEnded

Usage

  • No return behavior

Example Autogenerated

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

Location

  • BasePlayer::EndSleeping()
csharp
//---
		base.ForceUpdateTriggers(true, true, true);
	}
	this.inventory.containerMain.OnChanged();
	this.inventory.containerBelt.OnChanged();
	this.inventory.containerWear.OnChanged();
	Interface.CallHook("OnPlayerSleepEnded", this);
	EACServer.LogPlayerSpawn(this);
	if (this.TotalPingCount > 0)
	{
		this.SendPingsToClient();
	}
//---

Released under the MIT License.