private static void Obj_AI_Base_OnUpdateModel(Obj_AI_Base sender, UpdateModelEventArgs args) { if (sender.IsMe && (args.Model != Player.Instance.Model || args.SkinId != SkinMenu[Player.Instance.ChampionName + "skins"].Cast<Slider>().CurrentValue)) { args.Process = false; } }
private static void Obj_AI_Base_OnUpdateModel(Obj_AI_Base sender, UpdateModelEventArgs args) { if (sender.IsMe && (args.Model != Player.Instance.Model || args.SkinId != SkinMenu[Player.Instance.ChampionName + "skins"].Cast <Slider>().CurrentValue)) { args.Process = false; } }
private void Obj_AI_Base_OnUpdateModel(Obj_AI_Base sender, UpdateModelEventArgs args) { if (!sender.IsMe || !IsEnabled) { return; } if (args.Model != BaseSkinNames[Player.Instance.Hero] || args.SkinId != SkinId.CurrentValue) { args.Process = false; } }