public override void PlayerJoined(Player player) { Log.Info($"\"{player.Name}\" has joined the game"); ChatBox.AddInformation(Player.All, $"{player.Name} has joined", $"avatar:{player.SteamId}"); // // Just spawn them straight in // player.Respawn(); }
public override void PlayerDisconnected(Player player, NetworkDisconnectionReason reason) { Log.Info($"\"{player.Name}\" has left the game ({reason})"); ChatBox.AddInformation(Player.All, $"{player.Name} has left ({reason})", $"avatar:{player.SteamId}"); // // Just spawn them straight in // player.Respawn(); }