1. So far What i have found is that for using the
    Code:
    player.StartSleep()
    function works best if you dont care about the player beeing asleep. another option is
    Code:
    player.StartWounded(); player.StopWounded();
    which is a bit jittery and doesnt look as smooth. but Ideal would be something like the
    Code:
    player.StopLooting();
    method but for the inventory
     
  2. @CEbbinghaus
    more easy than it looks like ;)
    Code:
    // BasePlayer
    public void SendDeathInformation()
    {
        base.ClientRPCPlayer(null, this, "OnDied");
    }
    the resulting clientside action :p
    Code:
    // BasePlayer
    [BaseEntity.RPC_Client]
    private void OnDied(BaseEntity.RPCMessage msg)
    {
        UIInventory.Close();
        MapInterface.SetOpen(false);
        LocalPlayer.LastDeathTime = Time.realtimeSinceStartup;
    }