Esempio n. 1
0
        public static void Tab()
        {
            Prefab.MenuArea(new Rect(0, 0, 225, 436), "ESP", () =>
            {
                //Prefab.SectionTabButton("Global Override", () =>
                //{
                //
                //});

                Prefab.SectionTabButton("Players", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Players);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Players].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();
                    Prefab.Toggle("Show Player Weapon", ref ESPOptions.ShowPlayerWeapon);
                    Prefab.Toggle("Show Player Vehicle", ref ESPOptions.ShowPlayerVehicle);
                    Prefab.Toggle("Use Player Group", ref ESPOptions.UsePlayerGroup);
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Zombies", () =>
                {
                    BasicControls(ESPTarget.Zombies);
                });
                Prefab.SectionTabButton("Vehicles", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Vehicles);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Vehicles].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();

                    Prefab.Toggle("Show Vehicle Fuel", ref ESPOptions.ShowVehicleFuel);
                    Prefab.Toggle("Show Vehicle Health", ref ESPOptions.ShowVehicleHealth);
                    Prefab.Toggle("Show Vehicle Locked", ref ESPOptions.ShowVehicleLocked);
                    Prefab.Toggle("Filter Out Locked", ref ESPOptions.FilterVehicleLocked);

                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Items", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Items);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Items].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();

                    Prefab.Toggle("Filter Items", ref ESPOptions.FilterItems);

                    if (ESPOptions.FilterItems)
                    {
                        GUILayout.Space(5);
                        ItemUtilities.DrawFilterTab(ItemOptions.ItemESPOptions);
                    }

                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Storages", () =>
                {
                    BasicControls(ESPTarget.Storage);
                });
                Prefab.SectionTabButton("Beds", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Beds);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Beds].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();

                    Prefab.Toggle("Show Claimed", ref ESPOptions.ShowClaimed);

                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Generators", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Generators);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Generators].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();

                    Prefab.Toggle("Show Generator Fuel", ref ESPOptions.ShowGeneratorFuel);
                    Prefab.Toggle("Show Generator Powered", ref ESPOptions.ShowGeneratorPowered);

                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Sentries", () =>
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.BeginVertical(GUILayout.Width(240));

                    BasicControls(ESPTarget.Sentries);

                    if (!ESPOptions.VisualOptions[(int)ESPTarget.Sentries].Enabled)
                    {
                        return;
                    }

                    GUILayout.EndVertical();
                    GUILayout.BeginVertical();

                    Prefab.Toggle("Show Sentry Item", ref ESPOptions.ShowSentryItem);

                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                });
                Prefab.SectionTabButton("Claim Flags", () =>
                {
                    BasicControls(ESPTarget.ClaimFlags);
                });
            });

            Prefab.MenuArea(new Rect(225 + 5, 0, 466 - 225 - 5, 180), "OTHER", () =>
            {
                Prefab.SectionTabButton("Radar", () =>
                {
                    Prefab.Toggle("2D Radar", ref RadarOptions.Enabled);
                    if (RadarOptions.Enabled)
                    {
                        GUILayout.Space(5);
                        string type = "";
                        if (RadarOptions.type == 1)
                        {
                            type = "Global";
                        }
                        if (RadarOptions.type == 2)
                        {
                            type = "Static Local";
                        }
                        if (RadarOptions.type == 3)
                        {
                            type = "Dynamic Local";
                        }

                        GUILayout.Label("Radar Type: " + type, Prefab._TextStyle);

                        RadarOptions.type = (int)Prefab.Slider(1, 3, RadarOptions.type, 200);


                        Prefab.Toggle("Show Players", ref RadarOptions.ShowPlayers);
                        if (RadarOptions.ShowPlayers)
                        {
                            Prefab.Toggle("Detailed Plyers", ref RadarOptions.DetialedPlayers);
                        }
                        Prefab.Toggle("Show Vehicles", ref RadarOptions.ShowVehicles);
                        if (RadarOptions.ShowVehicles)
                        {
                            Prefab.Toggle("Show Only Unlocked", ref RadarOptions.ShowVehiclesUnlocked);
                        }
                        GUILayout.Space(5);
                        GUILayout.Label("Radar Zoom Multiplier: " + Mathf.Round(RadarOptions.RadarZoom), Prefab._TextStyle);
                        Prefab.Slider(0, 10, ref RadarOptions.RadarZoom, 200);
                        if (Prefab.Button("Reset Zoom", 100))
                        {
                            RadarOptions.RadarZoom = 1;
                        }
                        GUILayout.Space(5);
                        GUILayout.Label("Radar Size: " + Mathf.RoundToInt(RadarOptions.RadarSize), Prefab._TextStyle);
                        Prefab.Slider(50, 1000, ref RadarOptions.RadarSize, 200);
                    }
                });

                Prefab.Toggle("Show Vanish Players", ref ESPOptions.ShowVanishPlayers);
                Prefab.Toggle("Mirror Camera", ref MirrorCameraOptions.Enabled);
                GUILayout.Space(5);
                if (Prefab.Button("Fix Camera", 100))
                {
                    MirrorCameraComponent.FixCam();
                }
            });

            Prefab.MenuArea(new Rect(225 + 5, 180 + 5, 466 - 225 - 5, 436 - 186), "TOGGLE", () =>
            {
                if (Prefab.Toggle("ESP", ref ESPOptions.Enabled))
                {
                    if (!ESPOptions.Enabled)
                    {
                        for (int i = 0; i < ESPOptions.VisualOptions.Length; i++)
                        {
                            ESPOptions.VisualOptions[i].Glow = false;
                        }

                        Ldr.HookObject.GetComponent <ESPComponent>().OnGUI();
                    }
                }

                Prefab.Toggle("Chams", ref ESPOptions.ChamsEnabled);

                if (ESPOptions.ChamsEnabled)
                {
                    Prefab.Toggle("Flat Chams", ref ESPOptions.ChamsFlat);
                }
                Prefab.Toggle("Ignore Z", ref ESPOptions.IgnoreZ);
                Prefab.Toggle("No Rain", ref MiscOptions.NoRain);
                Prefab.Toggle("No Snow", ref MiscOptions.NoSnow);
                Prefab.Toggle("No Flinch", ref MiscOptions.NoFlinch);
                Prefab.Toggle("No Grayscale", ref MiscOptions.NoGrayscale);
                Prefab.Toggle("Night Vision", ref MiscOptions.NightVision);
                Prefab.Toggle("Compass", ref MiscOptions.Compass);
                Prefab.Toggle("GPS", ref MiscOptions.GPS);
                Prefab.Toggle("Show Players On Map", ref MiscOptions.ShowPlayersOnMap);
            });
        }
 public static void Tab()
 {
     Prefab.ScrollView(new Rect(0f, 0f, 225f, 436f), "ВХ", ref StatsTab.ScrollPos, delegate()
     {
         Prefab.SectionTabButton("Игроки", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Игроки);
             bool flag = !ESPOptions.VisualOptions[0].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Показывать оружие", ref ESPOptions.ShowPlayerWeapon, 17);
                 Prefab.Toggle("Показывать транспорт", ref ESPOptions.ShowPlayerVehicle, 17);
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Зомби", delegate
         {
             VisualsTab.BasicControls(ESPTarget.Зомби);
         }, 0f, 20);
         Prefab.SectionTabButton("Транспорт", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Транспорт);
             bool flag = !ESPOptions.VisualOptions[6].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Кол-во топлива", ref ESPOptions.ShowVehicleFuel, 17);
                 Prefab.Toggle("Кол-во прочности", ref ESPOptions.ShowVehicleHealth, 17);
                 Prefab.Toggle("Показывать закрытые", ref ESPOptions.ShowVehicleLocked, 17);
                 Prefab.Toggle("Фильтровать закрытые", ref ESPOptions.FilterVehicleLocked, 17);
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Предметы", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Предметы);
             bool flag = !ESPOptions.VisualOptions[2].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Фильтр предметов", ref ESPOptions.FilterItems, 17);
                 bool filterItems = ESPOptions.FilterItems;
                 if (filterItems)
                 {
                     GUILayout.Space(5f);
                     ItemUtilities.DrawFilterTab(ItemOptions.ItemESPOptions);
                 }
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Ящики", delegate
         {
             VisualsTab.BasicControls(ESPTarget.Ящики);
         }, 0f, 20);
         Prefab.SectionTabButton("Кровати", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Кровати);
             bool flag = !ESPOptions.VisualOptions[4].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Показать занятые", ref ESPOptions.ShowClaimed, 17);
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Генераторы", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Генераторы);
             bool flag = !ESPOptions.VisualOptions[8].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Кол-во топлива", ref ESPOptions.ShowGeneratorFuel, 17);
                 Prefab.Toggle("Статус работы", ref ESPOptions.ShowGeneratorPowered, 17);
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Турели", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             VisualsTab.BasicControls(ESPTarget.Турели);
             bool flag = !ESPOptions.VisualOptions[3].Enabled;
             if (!flag)
             {
                 GUILayout.EndVertical();
                 GUILayout.BeginVertical(new GUILayoutOption[0]);
                 Prefab.Toggle("Показывать оружие", ref ESPOptions.ShowSentryItem, 17);
                 GUILayout.EndVertical();
                 GUILayout.FlexibleSpace();
                 GUILayout.EndHorizontal();
             }
         }, 0f, 20);
         Prefab.SectionTabButton("Клейм флаги", delegate
         {
             VisualsTab.BasicControls(ESPTarget.КлеймФлаги);
         }, 0f, 20);
         Prefab.SectionTabButton("Животные", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Животные);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Ловушки", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Ловшуки);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Двери", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Двери);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Аирдропы", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Аирдропы);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Ягоды", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Ягоды);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Растения", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.астения);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Взрывчатка", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.C4);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Источники огня", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Fire);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Лампы", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Лампы);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Топливо", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Топливо);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Ген. СЗ", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Генератор_безопасной_зоны);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
         Prefab.SectionTabButton("Ген. воздух", delegate
         {
             GUILayout.BeginHorizontal(new GUILayoutOption[0]);
             GUILayout.BeginVertical(new GUILayoutOption[]
             {
                 GUILayout.Width(240f)
             });
             BasicControls(ESPTarget.Генератор_Воздуха);
             if (!ESPOptions.VisualOptions[3].Enabled)
             {
                 return;
             }
             GUILayout.EndVertical();
             GUILayout.BeginVertical(new GUILayoutOption[0]);
             GUILayout.EndVertical();
             GUILayout.FlexibleSpace();
             GUILayout.EndHorizontal();
         }, 0f, 20);
     });
     Prefab.MenuArea(new Rect(230f, 0f, 236f, 180f), "ДРУГОЕ", delegate
     {
         Prefab.SectionTabButton("Радар", delegate
         {
             Prefab.Toggle("Радар", ref RadarOptions.Enabled, 17);
             bool enabled = RadarOptions.Enabled;
             if (enabled)
             {
                 Prefab.Toggle("Центрирование игрока", ref RadarOptions.TrackPlayer, 17);
                 Prefab.Toggle("Показывать игроков", ref RadarOptions.ShowPlayers, 17);
                 Prefab.Toggle("Показывать машины", ref RadarOptions.ShowVehicles, 17);
                 bool showVehicles = RadarOptions.ShowVehicles;
                 if (showVehicles)
                 {
                     Prefab.Toggle("Только открытые", ref RadarOptions.ShowVehiclesUnlocked, 17);
                 }
                 GUILayout.Space(5f);
                 GUILayout.Label("Зум радара: " + Mathf.Round(RadarOptions.RadarZoom), Prefab._TextStyle, new GUILayoutOption[0]);
                 Prefab.Slider(0f, 10f, ref RadarOptions.RadarZoom, 200);
                 bool flag2 = Prefab.Button("По умолчанию", 105f, 25f, new GUILayoutOption[0]);
                 if (flag2)
                 {
                     RadarOptions.RadarZoom = 1f;
                 }
                 GUILayout.Space(5f);
                 GUILayout.Label("Размер радара: " + Mathf.RoundToInt(RadarOptions.RadarSize), Prefab._TextStyle, new GUILayoutOption[0]);
                 Prefab.Slider(50f, 1000f, ref RadarOptions.RadarSize, 200);
             }
         }, 0f, 20);
         Prefab.Toggle("Игроки в ванише", ref ESPOptions.ShowVanishPlayers, 17);
         Prefab.Toggle("Показывать координаты", ref ESPOptions.ShowCoordinates, 17);
         Prefab.Toggle("Камера заднего вида", ref MirrorCameraOptions.Enabled, 17);
         GUILayout.Space(5f);
         if (MirrorCameraOptions.Enabled)
         {
             if (Prefab.Button("Вернуть", 100f, 25f, new GUILayoutOption[0]))
             {
                 MirrorCameraComponent.FixCam();
             }
         }
     });
     Prefab.MenuArea(new Rect(230f, 185f, 236f, 250f), "Переключатели", delegate
     {
         bool flag = Prefab.Toggle("ВХ", ref ESPOptions.Enabled, 17);
         if (flag)
         {
             bool flag2 = !ESPOptions.Enabled;
             if (flag2)
             {
                 for (int i = 0; i < ESPOptions.VisualOptions.Length; i++)
                 {
                     ESPOptions.VisualOptions[i].Glow = false;
                 }
                 SosiHui.BinaryOperationBinder.HookObject.GetComponent <ESPComponent>().OnGUI();
             }
         }
         Prefab.Toggle("Чамсы", ref ESPOptions.ChamsEnabled, 17);
         bool chamsEnabled = ESPOptions.ChamsEnabled;
         if (chamsEnabled)
         {
             Prefab.Toggle("Плоские чамсы", ref ESPOptions.ChamsFlat, 17);
         }
         Prefab.Toggle("Без дождя", ref MiscOptions.NoRain, 17);
         Prefab.Toggle("Без снега", ref MiscOptions.NoSnow, 17);
         Prefab.Toggle("No Flash", ref MiscOptions.NoFlash, 17);
         Prefab.Toggle("ПНВ", ref MiscOptions.NightVision, 17);
         Prefab.Toggle("Компасс", ref MiscOptions.Compass, 17);
         Prefab.Toggle("Карта(GPS)", ref MiscOptions.GPS, 17);
         Prefab.Toggle("Показ игроков на карте", ref MiscOptions.ShowPlayersOnMap, 17);
     });
 }