示例#1
0
 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;
     }
 }
示例#2
0
 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;
     }
 }
示例#3
0
        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;
            }
        }