示例#1
0
 private static void Drawing_OnEndScene(EventArgs args)
 {
     if (mainMenu["Draw"].GetValue <MenuBool>("rRangeMini").Enabled)
     {
         if (mainMenu["Draw"].GetValue <MenuBool>("lista").Enabled)
         {
             if (R.IsReady())
             {
                 MiniMap.DrawCircle(GameObjects.Player.Position, R.Range, System.Drawing.Color.Aqua, 1);
             }
         }
         else
         {
             MiniMap.DrawCircle(GameObjects.Player.Position, R.Range, System.Drawing.Color.Aqua, 1);
         }
     }
 }
 private void Drawing_OnDraw(EventArgs args)
 {
     if (qdraw.Enabled && q.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, q.Range, System.Drawing.Color.Red, 1);
     }
     if (wdraw.Enabled && w.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, w.Range, System.Drawing.Color.Red, 1);
     }
     if (edraw.Enabled && e.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, e.Range, System.Drawing.Color.Red, 1);
     }
     if (rdraw.Enabled && r.IsReady())
     {
         MiniMap.DrawCircle(Player.Position, r.Range, System.Drawing.Color.White, 1);
     }
 }
示例#3
0
 private void Drawing_OnDraw(EventArgs args)
 {
     if (DrawQ.Enabled && _q.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, _q.Range, System.Drawing.Color.Red, 1);
     }
     if (DrawQ2.Enabled && _q.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, _q2.Range, System.Drawing.Color.Red, 1);
     }
     if (DrawW.Enabled && _w.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, _w.Range, System.Drawing.Color.Red, 1);
     }
     if (DrawE.Enabled && _e.IsReady())
     {
         Render.Circle.DrawCircle(Player.Position, _e.Range, System.Drawing.Color.Red, 1);
     }
     if (DrawR.Enabled && _r.IsReady())
     {
         MiniMap.DrawCircle(Player.Position, _r.Range, System.Drawing.Color.White, 1);
     }
 }
示例#4
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (_config["drawings"]["Drawsmite"].GetValue <MenuBool>())
            {
                if (_config["drawings"]["Usesmite"].GetValue <MenuKeyBind>().Active)
                {
                    Drawing.DrawText(Drawing.Width * 0.90f, Drawing.Height * 0.68f, System.Drawing.Color.DarkOrange,
                                     "Smite Is On");
                }
                else
                {
                    Drawing.DrawText(Drawing.Width * 0.90f, Drawing.Height * 0.68f, System.Drawing.Color.DarkRed,
                                     "Smite Is Off");
                }
            }
            if (_config["drawings"]["CircleLag"].GetValue <MenuBool>())
            {
                if (_config["drawings"]["DrawQ"].GetValue <MenuBool>())
                {
                    MiniMap.DrawCircle(ObjectManager.Player.Position, _q.Range, System.Drawing.Color.Gray,
                                       _config["drawings"]["CircleThickness"].GetValue <MenuSlider>().Value);
                }
                if (_config["drawings"]["DrawW"].GetValue <MenuBool>())
                {
                    MiniMap.DrawCircle(ObjectManager.Player.Position, _w.Range, System.Drawing.Color.Gray,
                                       _config["drawings"]["CircleThickness"].GetValue <MenuSlider>().Value);
                }
                if (_config["drawings"]["DrawE"].GetValue <MenuBool>())
                {
                    MiniMap.DrawCircle(ObjectManager.Player.Position, _e.Range, System.Drawing.Color.Gray,
                                       _config["drawings"]["CircleThickness"].GetValue <MenuSlider>().Value);
                }
                if (_config["drawings"]["DrawR"].GetValue <MenuBool>())
                {
                    MiniMap.DrawCircle(ObjectManager.Player.Position, _r.Range, System.Drawing.Color.Gray,
                                       _config["drawings"]["CircleThickness"].GetValue <MenuSlider>().Value);
                }
                if (_config["drawings"]["DrawQR"].GetValue <MenuBool>())
                {
                    MiniMap.DrawCircle(ObjectManager.Player.Position, _q.Range + _r.Range, System.Drawing.Color.Gray,
                                       _config["drawings"]["CircleThickness"].GetValue <MenuSlider>().Value);
                }
            }
            else
            {
                if (_config["drawings"]["DrawQ"].GetValue <MenuBool>())
                {
                    Drawing.DrawCircle(ObjectManager.Player.Position, _q.Range, System.Drawing.Color.White);
                }
                if (_config["drawings"]["DrawW"].GetValue <MenuBool>())
                {
                    Drawing.DrawCircle(ObjectManager.Player.Position, _w.Range, System.Drawing.Color.White);
                }
                if (_config["drawings"]["DrawE"].GetValue <MenuBool>())
                {
                    Drawing.DrawCircle(ObjectManager.Player.Position, _e.Range, System.Drawing.Color.White);
                }

                if (_config["drawings"]["DrawR"].GetValue <MenuBool>())
                {
                    Drawing.DrawCircle(ObjectManager.Player.Position, _r.Range, System.Drawing.Color.White);
                }
                if (_config["drawings"]["DrawQR"].GetValue <MenuBool>())
                {
                    Drawing.DrawCircle(ObjectManager.Player.Position, _q.Range + _r.Range, System.Drawing.Color.White);
                }
            }
        }