예제 #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);
        }