public static void WSettingsMenu() { WSettings = Menu.AddSubMenu("AntiGapcloser", "wmenu"); WSettings.Add("W", new CheckBox("Kullan W")); WSettings.AddGroupLabel("Kullan W içinde: "); foreach (AIHeroClient enemy in EntityManager.Heroes.Enemies) { foreach (var dash in DashSpells.DashSpells.Dashes) { if (enemy.Hero == dash.champ) { if (dash.spellname == string.Empty) { WSettings.Add("w" + dash.champname + dash.spellKey, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled)); } else { WSettings.Add("w" + dash.champname + dash.spellname, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled)); } } if (enemy.Hero == Champion.Rengar) { WSettings.Add("AntiRengar", new CheckBox("Anti rengar")); //Chat.Print("Anti rengo loaded"); Chat.Print("Popy Wsi Rengarı Engellemez beni suclama, ritoyu sucla,tradana iyi oyunlar diler"); } } } }
public static void WSettingsMenu() { WSettings = Menu.AddSubMenu("AntiGapcloser", "wmenu"); WSettings.Add("W", new CheckBox("Use W")); WSettings.AddGroupLabel("Use W in: "); foreach (AIHeroClient enemy in EntityManager.Heroes.Enemies) { foreach (var dash in DashSpells.DashSpells.Dashes) { if (enemy.Hero == dash.champ) { if (dash.spellname == string.Empty) { WSettings.Add("w" + dash.champname + dash.spellKey, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled)); } else { WSettings.Add("w" + dash.champname + dash.spellname, new CheckBox(dash.champname + " " + dash.spellKey, dash.enabled)); } } if (enemy.Hero == Champion.Rengar) { WSettings.Add("AntiRengar", new CheckBox("Anti rengar")); //Chat.Print("Anti rengo loaded"); Chat.Print("Poppy W isn't canceling rengar dash, blame rito"); } } } }