public SkinMenu() : base(Skin.ChangePlayerSkin) { foreach (var pocce in Config.PocceList) { AllSkins.Add(Skin.ModelToName(pocce)); } }
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(); } }
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(); } }