Beispiel #1
0
 public SkinMenu() : base(Skin.ChangePlayerSkin)
 {
     foreach (var pocce in Config.PocceList)
     {
         AllSkins.Add(Skin.ModelToName(pocce));
     }
 }
Beispiel #2
0
        public void DetectPlayerSkin()
        {
            LastSkins.Clear();

            var skin = new Skin(API.GetPlayerPed(-1));

            LastSkins.Add(skin);
            AllSkins.Add(skin);
            ShowNotification(skin);

            if (LastSkins.Count > 0)
            {
                ShowLastSkins();
            }
        }
Beispiel #3
0
        public void DetectSkins()
        {
            LastSkins.Clear();
            var peds = Peds.Get(Peds.DefaultFilters, 4f);

            foreach (var ped in peds)
            {
                var skin = new Skin(ped);
                LastSkins.Add(skin);
                AllSkins.Add(skin);
                ShowNotification(skin);
            }

            if (LastSkins.Count > 0)
            {
                ShowLastSkins();
            }
        }