Пример #1
0
        public void Rules(ChatCommandContext ctx)
        {
            string toAdd = GameModes.GetGameModesInfo();

            if (toAdd.Length > 0)
            {
                ctx.SendLocalMessage(Lang["activatedGameModes"] + "\n" + toAdd);
            }
        }
Пример #2
0
        public override bool Execute(string[] args)
        {
            string toAdd = GameModes.GetGameModesInfo();

            if (toAdd.Length > 0)
            {
                UI.Chat.Add(Lang["activatedGameModes"] + "\n" + toAdd);
            }
            return(true);
        }