// Token: 0x0600029F RID: 671 RVA: 0x00017F84 File Offset: 0x00016184 public static void Tab() { Prefab.MenuArea(new Rect(0f, 0f, 611f, 406f), <Module> .smethod_7 <string>(208571389u), delegate { GUILayout.BeginHorizontal(Array.Empty <GUILayoutOption>()); GUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Width(260f) }); Prefab.Toggle("Нет отдачи", ref WeaponOptions.NoRecoil); Prefab.Toggle("Нет разброса", ref WeaponOptions.NoSpread); Prefab.Toggle("Нет увода", ref WeaponOptions.NoSway); Prefab.Toggle("Нет падения пули", ref WeaponOptions.NoDrop); Prefab.Toggle("Триггербот", ref TriggerbotOptions.Enabled); Prefab.Toggle("Информация об оружии", ref WeaponOptions.ShowWeaponInfo); GUILayout.Space(2f); GUILayout.EndVertical(); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); Prefab.Toggle("Изменить зум прицела", ref WeaponOptions.Zoom); if (WeaponOptions.Zoom) { GUILayout.Space(2f); GUILayout.Label("Зум: " + WeaponOptions.ZoomValue, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); WeaponOptions.ZoomValue = (float)((int)Prefab.Slider(2f, 30f, WeaponOptions.ZoomValue, 200)); } GUILayout.EndVertical(); GUILayout.FlexibleSpace(); GUILayout.EndHorizontal(); }); }
// Token: 0x0600006D RID: 109 RVA: 0x00007DC4 File Offset: 0x00005FC4 public static void Tab() { Prefab.MenuArea(new Rect(0f, 0f, 611f, 406f), <Module> .smethod_7 <string>(3665911882u), delegate { Prefab.MenuArea(new Rect(10f, 291f, 230f, 105f), "УРОН", delegate { Prefab.Toggle("Случайная часть тела", ref RaycastOptions.UseRandomLimb); if (!RaycastOptions.UseRandomLimb) { Prefab.Toggle("Выбрать часть тела", ref RaycastOptions.UseCustomLimb); } if (RaycastOptions.UseCustomLimb && !RaycastOptions.UseRandomLimb) { GUILayout.Space(10f); RaycastOptions.TargetLimb = (ELimb)Prefab.Arrows(200f, (int)RaycastOptions.TargetLimb, RaycastOptions.TargetLimb.ToString().Replace('_', ' '), Enum.GetValues(typeof(ELimb)).Length - 1); } }); GUILayout.BeginHorizontal(Array.Empty <GUILayoutOption>()); GUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Width(260f) }); Prefab.Toggle("Silent Аимбот", ref RaycastOptions.Enabled); GUILayout.Space(2f); if (RaycastOptions.Enabled) { Prefab.Toggle("Использовать FOV", ref RaycastOptions.SilentAimUseFOV); if (RaycastOptions.SilentAimUseFOV) { GUILayout.Space(2f); GUILayout.Label("FOV: " + RaycastOptions.SilentAimFOV, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); RaycastOptions.SilentAimFOV = (float)((int)Prefab.Slider(1f, 90f, RaycastOptions.SilentAimFOV, 200)); Prefab.Toggle("Показывать FOV", ref MiscOptions.ShowSilentFOV); } GUILayout.Space(2f); Prefab.Toggle("Не стрелять через стену", ref RaycastOptions.WallCheck); GUILayout.Space(2f); if (!RaycastOptions.WallCheck) { Prefab.Toggle("Авто радиус", ref SphereOptions.SpherePrediction); GUILayout.Space(5f); if (!SphereOptions.SpherePrediction) { GUILayout.Label("Радиус сферы: " + Math.Round((double)SphereOptions.SphereRadius, 1) + "m", Prefab._TextStyle, Array.Empty <GUILayoutOption>()); SphereOptions.SphereRadius = Prefab.Slider(1f, 16f, SphereOptions.SphereRadius, 200); } } GUILayout.Space(2f); GUILayout.BeginHorizontal(new GUILayoutOption[] { GUILayout.Width(230f) }); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); Prefab.Toggle("Игроки", ref RaycastOptions.TargetPlayers); Prefab.Toggle("Зомби", ref RaycastOptions.TargetZombies); Prefab.Toggle("Кровати", ref RaycastOptions.TargetBeds); Prefab.Toggle("Ящики", ref RaycastOptions.TargetStorage); GUILayout.EndVertical(); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); Prefab.Toggle("Животные", ref RaycastOptions.TargetAnimals); Prefab.Toggle("Клейм Флаги", ref RaycastOptions.TargetClaimFlags); Prefab.Toggle("Турели", ref RaycastOptions.TargetSentries); Prefab.Toggle("Машины", ref RaycastOptions.TargetVehicles); GUILayout.EndVertical(); GUILayout.EndHorizontal(); } GUILayout.EndVertical(); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); Prefab.Toggle("Аимбот", ref AimbotOptions.Enabled); if (AimbotOptions.Enabled) { GUILayout.Space(2f); Prefab.Toggle("По клавише", ref AimbotOptions.OnKey); Prefab.Toggle("Плавность", ref AimbotOptions.Smooth); GUILayout.Space(3f); if (AimbotOptions.Smooth) { GUILayout.Label("Скорость: " + AimbotOptions.AimSpeed, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); AimbotOptions.AimSpeed = (float)((int)Prefab.Slider(1f, AimbotOptions.MaxSpeed, AimbotOptions.AimSpeed, 200)); } GUILayout.Label("FOV: " + AimbotOptions.FOV, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); AimbotOptions.FOV = (float)((int)Prefab.Slider(1f, 90f, AimbotOptions.FOV, 200)); Prefab.Toggle("Показывать FOV", ref MiscOptions.ShowAimFOV); GUILayout.Space(10f); string[] array = new string[] { "Дистанция", "FOV" }; AimbotOptions.TargetMode = (TargetMode)Prefab.Arrows(200f, (int)AimbotOptions.TargetMode, "Очередь: " + array[(int)AimbotOptions.TargetMode], array.Length - 1); } GUILayout.EndVertical(); GUILayout.EndHorizontal(); }); }
// Token: 0x06000184 RID: 388 RVA: 0x00010400 File Offset: 0x0000E600 public static void Tab() { Prefab.MenuArea(new Rect(0f, 0f, 611f, 406f), <Module> .smethod_8 <string>(3414214735u), delegate { GUILayout.BeginHorizontal(Array.Empty <GUILayoutOption>()); GUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Width(260f) }); GUILayout.Space(2f); Prefab.Toggle("Авто подбор растений", ref ItemOptions.AutoFarmPickup); Prefab.Toggle("Авто подбор кустов", ref ItemOptions.AutoForagePickup); GUILayout.Space(5f); GUILayout.Label("Расстояние: " + ItemOptions.FarmPickupRange, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); ItemOptions.FarmPickupRange = (float)((int)Prefab.Slider(0f, 1000f, ItemOptions.FarmPickupRange, 175)); if (ItemOptions.EnablePickupFilter) { ItemUtilities.DrawFilterTab(ItemOptions.ItemFilterOptions); } Prefab.Toggle("Фильтр предметов", ref ItemOptions.EnablePickupFilter); GUILayout.Space(2f); Prefab.Toggle("Авто подбор предметов", ref ItemOptions.AutoItemPickup); GUILayout.Space(5f); GUILayout.Label("Задержка: " + ItemOptions.ItemPickupDelay + "ms", Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); ItemOptions.ItemPickupDelay = (int)Prefab.Slider(200f, 1000f, (float)ItemOptions.ItemPickupDelay, 175); Prefab.Toggle("Нет таймера на выход", ref MiscOptions.Disconnect); GUILayout.Space(5f); if (Prefab.Button("Отключится от сервера", 200f, 25f)) { Provider.disconnect(); } GUILayout.Space(5f); if (Prefab.Button("Убрать воду", 200f, 25f)) { if (MiscOptions.Altitude == 0f) { MiscOptions.Altitude = LevelLighting.seaLevel; } LevelLighting.seaLevel = ((LevelLighting.seaLevel == 0f) ? MiscOptions.Altitude : 0f); } GUILayout.Space(5f); if (Provider.cameraMode != ECameraMode.BOTH) { if (Prefab.Button("Включить 3 лицо", 200f, 25f)) { Provider.cameraMode = ECameraMode.BOTH; goto IL_218; } } if (Provider.cameraMode == ECameraMode.BOTH && Prefab.Button("Выключить 3 лицо", 200f, 25f)) { Provider.cameraMode = ECameraMode.VEHICLE; } IL_218: GUILayout.EndVertical(); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); GUILayout.Label(string.Format("Метод краша сервера: {0}", MiscOptions.SCrashMethod), Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); MiscOptions.SCrashMethod = (int)Prefab.Slider(1f, 3f, (float)MiscOptions.SCrashMethod, 175); Prefab.Toggle("Краш сервера", ref ServerCrashThread.ServerCrashEnabled); Prefab.Toggle("Предупреждать при Spy", ref MiscOptions.AlertOnSpy); GUILayout.Space(5f); Prefab.Toggle("Дальность поднятия в инвентаре", ref MiscOptions.IncreaseNearbyItemDistance); Prefab.Toggle("Быстрая покупка", ref MiscOptions.FastBuy); Prefab.Toggle("Быстрая продажа", ref MiscOptions.FastSell); if (MiscOptions.FastSell || MiscOptions.FastBuy) { GUILayout.Space(5f); GUILayout.Label("Количество: " + MiscOptions.FastSellCount, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); MiscOptions.FastSellCount = (int)Prefab.Slider(1f, 20f, (float)MiscOptions.FastSellCount, 175); } GUILayout.Space(10f); if (Prefab.Button("Сменить HWID", 200f, 25f)) { byte[] array = new byte[20]; for (int i = 0; i < 20; i++) { array[i] = (byte)UnityEngine.Random.Range(0, 256); } MoreMiscTab.hwidfield.SetValue(null, array); } GUILayout.Space(10f); if (Prefab.Button("Отключить чит полностью", 200f, 25f)) { PlayerCoroutines.DisableAllVisuals(); OverrideManager.RemoveOverrides(); UnityEngine.Object.DestroyImmediate(abc.HookObject); } GUILayout.EndVertical(); GUILayout.EndHorizontal(); }); }
// Token: 0x06000281 RID: 641 RVA: 0x00017180 File Offset: 0x00015380 private static void BasicControls(ESPTarget esptarget) { ESPVisual espvisual = ESPOptions.VisualOptions[(int)esptarget]; Prefab.Toggle(Names.All[11], ref espvisual.Enabled); if (!espvisual.Enabled) { return; } Prefab.Toggle(Names.All[12], ref espvisual.Labels); if (espvisual.Labels) { Prefab.Toggle(Names.All[13], ref espvisual.ShowName); Prefab.Toggle(Names.All[14], ref espvisual.ShowDistance); Prefab.Toggle(Names.All[15], ref espvisual.ShowAngle); } Prefab.Toggle(Names.All[16], ref espvisual.Boxes); if (espvisual.Boxes) { Prefab.Toggle(Names.All[17], ref espvisual.TwoDimensional); } Prefab.Toggle(Names.All[18], ref espvisual.Glow); Prefab.Toggle(Names.All[19], ref espvisual.LineToObject); Prefab.Toggle(Names.All[25], ref espvisual.InfiniteDistance); if (!espvisual.InfiniteDistance) { GUILayout.Label(Names.All[26] + (int)espvisual.Distance, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.Distance = Prefab.Slider(0f, 2000f, espvisual.Distance, 200); GUILayout.Space(3f); } Prefab.Toggle(Names.All[27], ref espvisual.UseObjectCap); if (espvisual.UseObjectCap) { GUILayout.Label(Names.All[28] + espvisual.ObjectCap, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.ObjectCap = (int)Prefab.Slider(1f, 50f, (float)espvisual.ObjectCap, 200); } Prefab.Toggle(Names.All[20], ref espvisual.TextScaling); GUILayout.Space(3f); if (espvisual.TextScaling) { GUILayout.Label(Names.All[21] + espvisual.MinTextSize, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.MinTextSize = (int)Prefab.Slider(8f, 16f, (float)espvisual.MinTextSize, 200); GUILayout.Label(Names.All[22] + espvisual.MaxTextSize, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.MaxTextSize = (int)Prefab.Slider(8f, 16f, (float)espvisual.MaxTextSize, 200); GUILayout.Space(3f); GUILayout.Label(Names.All[23] + (int)espvisual.MinTextSizeDistance, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.MinTextSizeDistance = Prefab.Slider(0f, 1000f, espvisual.MinTextSizeDistance, 200); GUILayout.Space(3f); } else { GUILayout.Label(Names.All[24] + espvisual.FixedTextSize, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.FixedTextSize = (int)Prefab.Slider(8f, 16f, (float)espvisual.FixedTextSize, 200); } GUILayout.Space(3f); GUILayout.Label(Names.All[29] + espvisual.BorderStrength, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); espvisual.BorderStrength = (int)Prefab.Slider(0f, 2f, (float)espvisual.BorderStrength, 200); GUILayout.Space(3f); string[] array = new string[] { Names.All[30], Names.All[31], Names.All[32], Names.All[33], Names.All[34], Names.All[35], Names.All[36], Names.All[37], Names.All[38] }; ESPOptions.VisualOptions[(int)esptarget].Location = (LabelLocation)Prefab.Arrows(220f, (int)ESPOptions.VisualOptions[(int)esptarget].Location, array[(int)ESPOptions.VisualOptions[(int)esptarget].Location], array.Length - 1); }
// Token: 0x06000083 RID: 131 RVA: 0x00008BD8 File Offset: 0x00006DD8 public static void Tab() { ColorOptions.errorColor = new ColorVariable("errorColor", "#ERROR.NOTFOUND", Color.magenta, true); ColorOptions.preview = new ColorVariable("preview", "Цвет не выбран", Color.white, true); if (ColorOptions.selectedOption == null) { ColorOptions.previewselected = ColorOptions.preview; } Prefab.ScrollView(new Rect(0f, 0f, 395f, 406f), "Цвета", ref ColorsTab.ColorScroll, delegate() { GUILayout.Space(10f); List <KeyValuePair <string, ColorVariable> > list = ColorOptions.ColorDict2.ToList <KeyValuePair <string, ColorVariable> >(); list.Sort((KeyValuePair <string, ColorVariable> pair1, KeyValuePair <string, ColorVariable> pair2) => pair1.Value.name.CompareTo(pair2.Value.name)); for (int i = 0; i < list.Count; i++) { ColorVariable color = ColorUtilities.getColor(list[i].Value.identity); if (Prefab.ColorButton(350f, color, 25f)) { ColorOptions.selectedOption = color.identity; ColorOptions.previewselected = new ColorVariable(color); ColorsTab.LastColorPreview1 = color.color; } GUILayout.Space(3f); } if (Prefab.Button("Восстановить цвета", 350f, 25f)) { for (int j = 0; j < list.Count; j++) { ColorVariable color2 = ColorUtilities.getColor(list[j].Value.identity); color2.color = color2.origColor; MenuComponent.SetGUIColors(); ColorOptions.selectedOption = null; ColorsTab.LastColorPreview1 = ColorOptions.preview.color; } } GUILayout.Space(10f); }, 20); Rect previewRect = new Rect(400f, 0f, 211f, 120f); Prefab.MenuArea(previewRect, "Просмотр", delegate { Rect rect = new Rect(5f, 20f, previewRect.width - 10f, previewRect.height - 25f); Drawing.DrawRect(rect, MenuComponent._OutlineBorderBlack); Drawing.DrawRect(MenuUtilities.Inline(rect, 1f), MenuComponent._OutlineBorderLightGray); Rect rect2 = MenuUtilities.Inline(rect, 2f); Drawing.DrawRect(new Rect(rect2.x, rect2.y, rect2.width / 2f, rect2.height), ColorsTab.LastColorPreview1); Drawing.DrawRect(new Rect(rect2.x + rect2.width / 2f, rect2.y, rect2.width / 2f, rect2.height), ColorOptions.previewselected); }); Prefab.MenuArea(new Rect(previewRect.x, previewRect.y + previewRect.height + 5f, previewRect.width, 406f - previewRect.height - 5f), ColorOptions.previewselected.name, delegate { GUILayout.BeginArea(new Rect(10f, 20f, previewRect.width - 10f, 205f)); ColorOptions.previewselected.color.r = (int)((byte)Prefab.TextField(ColorOptions.previewselected.color.r, "R: ", 30, 0, 255)); ColorOptions.previewselected.color.r = (int)((byte)Prefab.Slider(0f, 255f, (float)ColorOptions.previewselected.color.r, 185)); GUILayout.FlexibleSpace(); ColorOptions.previewselected.color.g = (int)((byte)Prefab.TextField(ColorOptions.previewselected.color.g, "G: ", 30, 0, 255)); ColorOptions.previewselected.color.g = (int)((byte)Prefab.Slider(0f, 255f, (float)ColorOptions.previewselected.color.g, 185)); GUILayout.FlexibleSpace(); ColorOptions.previewselected.color.b = (int)((byte)Prefab.TextField(ColorOptions.previewselected.color.b, "B: ", 30, 0, 255)); ColorOptions.previewselected.color.b = (int)((byte)Prefab.Slider(0f, 255f, (float)ColorOptions.previewselected.color.b, 185)); GUILayout.FlexibleSpace(); if (!ColorOptions.previewselected.disableAlpha) { ColorOptions.previewselected.color.a = (int)((byte)Prefab.TextField(ColorOptions.previewselected.color.a, "A: ", 30, 0, 255)); ColorOptions.previewselected.color.a = (int)((byte)Prefab.Slider(0f, 255f, (float)ColorOptions.previewselected.color.a, 185)); } else { Prefab.TextField(ColorOptions.previewselected.color.a, "A: ", 30, 0, 255); Prefab.Slider(0f, 255f, (float)ColorOptions.previewselected.color.a, 185); } GUILayout.Space(100f); GUILayout.EndArea(); GUILayout.Space(160f); GUILayout.FlexibleSpace(); if (Prefab.Button("Снять выделение", 180f, 25f)) { ColorOptions.selectedOption = null; ColorsTab.LastColorPreview1 = ColorOptions.preview.color; } GUILayout.Space(3f); if (Prefab.Button("Восстановить", 180f, 25f)) { ColorUtilities.setColor(ColorOptions.previewselected.identity, ColorOptions.previewselected.origColor.ToColor()); ColorOptions.previewselected.color = ColorOptions.previewselected.origColor; MenuComponent.SetGUIColors(); } GUILayout.Space(3f); if (Prefab.Button("Применить", 180f, 25f)) { ColorUtilities.setColor(ColorOptions.previewselected.identity, ColorOptions.previewselected.color.ToColor()); MenuComponent.SetGUIColors(); ColorsTab.LastColorPreview1 = ColorOptions.previewselected.color; } GUILayout.Space(30f); }); }
// Token: 0x0600017E RID: 382 RVA: 0x0000FE28 File Offset: 0x0000E028 public static void Tab() { Prefab.MenuArea(new Rect(0f, 0f, 611f, 406f), <Module> .smethod_5 <string>(2232062503u), delegate { GUILayout.BeginHorizontal(Array.Empty <GUILayoutOption>()); GUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Width(260f) }); Prefab.Toggle("Медленное падение", ref MiscOptions.SlowFall); Prefab.Toggle("Полёт на машине", ref MiscOptions.VehicleFly); if (MiscOptions.VehicleFly) { Prefab.Toggle("Использовать Rigibody", ref MiscOptions.VehicleRigibody); Prefab.Toggle("Использовать макс скорость", ref MiscOptions.VehicleUseMaxSpeed); if (!MiscOptions.VehicleUseMaxSpeed) { GUILayout.Space(2f); GUILayout.Label("Скорость: " + MiscOptions.SpeedMultiplier + "x", Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); MiscOptions.SpeedMultiplier = (float)Math.Round((double)Prefab.Slider(0f, 10f, MiscOptions.SpeedMultiplier, 175), 2); GUILayout.Space(4f); } } Prefab.Toggle("Изменить время", ref MiscOptions.SetTimeEnabled); if (MiscOptions.SetTimeEnabled) { GUILayout.Label("Время: " + MiscOptions.Time, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); MiscOptions.Time = (float)Math.Round((double)Prefab.Slider(0f, 0.9f, MiscOptions.Time, 175), 2); GUILayout.Space(8f); } Prefab.Toggle("Дальность удара", ref MiscOptions.ExtendMeleeRange); if (MiscOptions.ExtendMeleeRange) { Prefab.Toggle("Режим совместимости", ref MiscOptions.ExtendRangeBypass); } GUILayout.EndVertical(); GUILayout.BeginVertical(Array.Empty <GUILayoutOption>()); Prefab.Toggle("Свободная камера", ref MiscOptions.Freecam); if (Provider.isConnected && Player.player != null) { if (!Player.player.look.isOrbiting) { Player.player.look.orbitPosition = Vector3.zero; } if (Player.player.look.isOrbiting && Prefab.Button("Вернуть камеру", 150f, 25f)) { Player.player.look.orbitPosition = Vector3.zero; } } Prefab.Toggle("Время забирания построек", ref MiscOptions.CustomSalvageTime); if (MiscOptions.CustomSalvageTime) { GUILayout.Label("Время: " + MiscOptions.SalvageTime + " секунд", Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(2f); MiscOptions.SalvageTime = (float)Math.Round((double)Prefab.Slider(0.2f, 10f, MiscOptions.SalvageTime, 175), 1); GUILayout.Space(8f); } Prefab.Toggle("Ставить в текстуры", ref MiscOptions.BuildObs); if (MiscOptions.BuildObs) { Prefab.Toggle("Смещение", ref MiscOptions.epos); if (MiscOptions.epos) { GUILayout.Label("Y: " + MiscOptions.pos.y, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); MiscOptions.pos.y = (float)Math.Round((double)Prefab.Slider(-3f, 3f, MiscOptions.pos.y, 175), 1); GUILayout.Label("X: " + MiscOptions.pos.x, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); MiscOptions.pos.x = (float)Math.Round((double)Prefab.Slider(-3f, 3f, MiscOptions.pos.x, 175), 1); GUILayout.Label("Z: " + MiscOptions.pos.z, Prefab._TextStyle, Array.Empty <GUILayoutOption>()); MiscOptions.pos.z = (float)Math.Round((double)Prefab.Slider(-3f, 3f, MiscOptions.pos.z, 175), 1); } } GUILayout.EndVertical(); GUILayout.EndHorizontal(); Prefab.MenuArea(new Rect(10f, 281f, 250f, 115f), "СПАМ", delegate { Prefab.Toggle("Включить", ref MiscOptions.SpammerEnabled); GUILayout.Space(5f); MiscOptions.SpamText = Prefab.TextField(MiscOptions.SpamText, "Текст: ", 160f); GUILayout.Space(10f); GUILayout.Label("Задержка: " + MiscOptions.SpammerDelay + "ms", Prefab._TextStyle, Array.Empty <GUILayoutOption>()); GUILayout.Space(5f); MiscOptions.SpammerDelay = (int)Prefab.Slider(5f, 10000f, (float)MiscOptions.SpammerDelay, 190); }); Prefab.MenuArea(new Rect(265f, 241f, 256f, 155f), "ВЗАИМОДЕЙСТВИЕ", delegate { Prefab.Toggle("Включить", ref InteractionOptions.InteractThroughWalls); if (InteractionOptions.InteractThroughWalls) { Prefab.Toggle("Через Стены/Полы/и тп", ref InteractionOptions.NoHitStructures); Prefab.Toggle("Через Ящики/Двери/и тп", ref InteractionOptions.NoHitBarricades); Prefab.Toggle("Через Предметы", ref InteractionOptions.NoHitItems); Prefab.Toggle("Через Транспорт", ref InteractionOptions.NoHitVehicles); Prefab.Toggle("Через Ресурсы", ref InteractionOptions.NoHitResources); Prefab.Toggle("Через Земля/Постройки", ref InteractionOptions.NoHitEnvironment); return; } }); }); }