Example #1
0
    public override void OnPlayerDisconnect(Entity player)
    {
        int teamPlayers = GSCFunctions.GetTeamPlayersAlive("axis");

        if (player.SessionTeam == "axis" && teamPlayers == 0)
        {
            teamSplash("callout_deserted", player);
        }
    }