Beispiel #1
0
        void CreateScoreboard(string ScoreboardTitle, string ScoreboardDescription, KeyValuePair <string, string>[] Entries)
        {
            if (Scoreboard.Find(ScoreboardTitle) != null)
            {
                return;
            }

            Scoreboard.AddScoreboard(new Scoreboard {
                Title = ScoreboardTitle, Description = ScoreboardDescription, Entries = Entries.Take(10).ToArray()
            });
        }