public override void Initialize() { FirstMenu = MainMenu.AddMenu("OKTR " + GetAttribute().Name, "id" + GetAttribute().Name.ToLower()); FirstMenu.AddGroupLabel("Introduction:"); FirstMenu.AddSeparator(); FirstMenu.AddGroupLabel("Author: " + GetAttribute().Author); if (HUEHUEHUEHUE) { FirstMenu.AddLabel("Plugin From: http://oktraio.com"); } ComboMenu = FirstMenu.AddSubMenu("Combo", ComboMenuID); ComboMenu.AddGroupLabel("Combo Settings:"); HarassMenu = FirstMenu.AddSubMenu("Harass", HarassMenuID); HarassMenu.AddGroupLabel("Harass Settings:"); AutoHarassMenu = FirstMenu.AddSubMenu("Auto Harass", AutoHarassMenuID); AutoHarassMenu.AddGroupLabel("Auto Harass Settings:"); LaneClearMenu = FirstMenu.AddSubMenu("Laneclear", LaneMenuID); LaneClearMenu.AddGroupLabel("Laneclear Settings:"); JungleClearMenu = FirstMenu.AddSubMenu("Jungleclear", JunglesMenuID); JungleClearMenu.AddGroupLabel("Jungleclear Settings:"); LastHitMenu = FirstMenu.AddSubMenu("Lasthit", LastMenuID); LastHitMenu.AddGroupLabel("Lasthit Settings:"); FleeMenu = FirstMenu.AddSubMenu("Flee", FleeMenuID); FleeMenu.AddGroupLabel("Flee Settings:"); KillStealMenu = FirstMenu.AddSubMenu("Killsteal", KillstealMenuID); KillStealMenu.AddGroupLabel("Killsteal Settings:"); DrawMenu = FirstMenu.AddSubMenu("Draw", DrawMenuID); DrawMenu.AddGroupLabel("Draw Settings:"); DrawMenu.CreateCheckBox("Only draw spells if they are ready", DrawMenuID + "whenready"); DrawMenu.AddGroupLabel("Damage Indicator settings: "); DrawMenu.CreateCheckBox("Draw damage indicator", DrawMenuID + "damageDraw"); DrawMenu.CreateCheckBox("Draw statistics", DrawMenuID + "statDraw"); DrawMenu.CreateCheckBox("Draw percentage", DrawMenuID + "perDraw"); DamageIndicatorDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "damageHealthIndicator", Color.Yellow, "Damage Indicator Color"); DrawMenu.AddSeparator(); DrawMenu.CreateCheckBox("Calculate Q", DrawMenuID + "calculateQ"); DrawMenu.CreateCheckBox("Calculate W", DrawMenuID + "calculateW"); DrawMenu.CreateCheckBox("Calculate E", DrawMenuID + "calculateE"); DrawMenu.CreateCheckBox("Calculate R", DrawMenuID + "calculateR"); DrawMenu.AddGroupLabel("Spells to draw: "); MiscMenu = FirstMenu.AddSubMenu("Misc", MiscMenuID); MiscMenu.AddGroupLabel("Miscellanous Settings:"); InitializeSpells(); InitializeEvents(); InitializeMenu(); if (PlayerHasMana) { HarassMenu.CreateSlider("Player mana must be less than [{0}%] to use harass spells", HarassMenuID + "mana", 40); AutoHarassMenu.CreateSlider("Player mana must be less than [{0}%] to use auto harass spells", AutoHarassMenuID + "mana", 40); LaneClearMenu.CreateSlider("Player mana must be less than [{0}%] to use lane clear spells", LaneClearMenu + "mana", 40); JungleClearMenu.CreateSlider("Player mana must be less than [{0}%] to use jungle clear spells", JunglesMenuID + "mana", 40); LastHitMenu.CreateSlider("Player mana must be less than [{0}%] to use lasthit spells", LastMenuID + "mana", 40); KillStealMenu.CreateSlider("Player mana must be less than [{0}%] to use Killsteal spells", KillstealMenuID + "mana", 10); MiscMenu.CreateSlider("Player mana must be less than [{0}%] to use misc spells", MiscMenuID + "mana", 30); } DrawMenu.AddGroupLabel("Drawing Colors"); QDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "Q" + "colorid", Color.Orange, "- Q Color"); WDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "W" + "colorid", Color.Red, "- W Color"); EDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "E" + "colorid", Color.Blue, "- E Color"); RDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "R" + "colorid", Color.DeepPink, "- R Color"); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }