Exemplo n.º 1
0
        public override void Process()
        {
            if (Options.ContainsKey("filter"))
            {
                SendOutput("Error: Can't set filters on this alias command");
                SendOutput(GetHelp());

                return;
            }

            string filters = BCMPlayer.StrFilters.Position;

            if (Options.ContainsKey("r"))
            {
                filters += "," + BCMPlayer.StrFilters.Rotation;
            }
            if (Options.ContainsKey("u"))
            {
                filters += "," + BCMPlayer.StrFilters.Underground;
            }
            if (Options.ContainsKey("g"))
            {
                filters += "," + BCMPlayer.StrFilters.OnGround;
            }

            Options.Add("filter", filters);
            var cmd = new BCPlayers();

            cmd.Process(Options, Params);
        }
Exemplo n.º 2
0
        protected override void Process()
        {
            if (Options.ContainsKey("filter"))
            {
                SendOutput("Error: Can't set filters on this alias command");
                SendOutput(GetHelp());

                return;
            }

            var filters = BCMPlayer.StrFilters.EntityId;

            if (Options.ContainsKey("n"))
            {
                filters += "," + BCMPlayer.StrFilters.Name;
            }

            if (Options.ContainsKey("s"))
            {
                filters += "," + BCMPlayer.StrFilters.SteamId;
            }

            Options.Add("filter", filters);
            var cmd = new BCPlayers();

            cmd.Process(Options, Params);
        }
Exemplo n.º 3
0
        public override void Process()
        {
            if (Options.ContainsKey("filter"))
            {
                SendOutput("Error: Can't set filters on this alias command");
                SendOutput(GetHelp());

                return;
            }

            Options.Add("filter", BCMPlayer.StrFilters.Gamestage);
            var cmd = new BCPlayers();

            cmd.Process(Options, Params);
        }