Esempio n. 1
0
        private static void hudToggles()
        {
            GUI.Label(new Rect(920f, 295f, 200f, 20f), "ESP:");
            if (GUI.Toggle(new Rect(920f, 320f, 200f, 20f), GhostESP, "Ghost") != GhostESP)
            {
                GhostESP = !GhostESP;
            }
            if (GUI.Toggle(new Rect(920f, 370f, 200f, 20f), PlayerESP, "Player") != PlayerESP)
            {
                PlayerESP = !PlayerESP;
            }
            if (GUI.Toggle(new Rect(920f, 395f, 200f, 20f), OuijaESP, "Ouija Board") != OuijaESP)
            {
                OuijaESP = !OuijaESP;
            }
            if (GUI.Toggle(new Rect(920f, 420f, 200f, 20f), KeyESP, "Key") != KeyESP)
            {
                KeyESP = !KeyESP;
            }
            if (GUI.Toggle(new Rect(920f, 445f, 200f, 20f), EvidenceESP, "Evidence") != EvidenceESP)
            {
                EvidenceESP = !EvidenceESP;
            }

            if (GUI.Toggle(new Rect(1120f, 400f, 200f, 20f), SpeedHack, "Speedhack") != SpeedHack)
            {
                SpeedHack = !SpeedHack;
            }

            if (GUI.Toggle(new Rect(1120, 415f, 200f, 20f), fullbrighttoggle, "FullBright") != fullbrighttoggle)
            {
                fullbrighttoggle = !fullbrighttoggle;
                FullBright.changeBright();
            }

            GUI.Label(new Rect(740f, 145f, 200f, 20f), "Lights:");
            if (GUI.Button(new Rect(740f, 175f, 200f, 20f), "All Lights On"))
            {
                foreach (LightSwitch lightSwitch1 in Main.lightSwitches)
                {
                    lightSwitch1.TurnOn(true);
                    lightSwitch1.TurnOnNetworked(true);
                }
            }
            if (GUI.Button(new Rect(740f, 195f, 200f, 20f), "All Lights Off"))
            {
                foreach (LightSwitch lightSwitch2 in Main.lightSwitches)
                {
                    lightSwitch2.TurnOff();
                    lightSwitch2.TurnOffNetworked(true);
                }
            }

            if (GUI.Toggle(new Rect(1120f, 300f, 200f, 20f), ShowInfoGhost, "Show Ghost Info") != ShowInfoGhost)
            {
                ShowInfoGhost = !ShowInfoGhost;
            }
            if (GUI.Toggle(new Rect(1120f, 250f, 200f, 20f), ShowInfoPlayer, "Show Player Info") != ShowInfoPlayer)
            {
                ShowInfoPlayer = !ShowInfoPlayer;
            }
            if (GUI.Toggle(new Rect(1120f, 200f, 200f, 20f), showMissionInfo, "Show Player Info") != showMissionInfo)
            {
                showMissionInfo = !showMissionInfo;
            }
        }
Esempio n. 2
0
        private static void hudToggles()
        {
            GUI.Label(new Rect(920f, 295f, 200f, 20f), "ESP:");
            if (GUI.Toggle(new Rect(920f, 320f, 200f, 20f), GhostESP, "Призрак") != GhostESP)
            {
                GhostESP = !GhostESP;
            }
            if (GUI.Toggle(new Rect(920f, 370f, 200f, 20f), PlayerESP, "Игрок") != PlayerESP)
            {
                PlayerESP = !PlayerESP;
            }
            if (GUI.Toggle(new Rect(920f, 395f, 200f, 20f), OuijaESP, "Доска Уиджи") != OuijaESP)
            {
                OuijaESP = !OuijaESP;
            }
            if (GUI.Toggle(new Rect(920f, 420f, 200f, 20f), KeyESP, "Ключи") != KeyESP)
            {
                KeyESP = !KeyESP;
            }
            if (GUI.Toggle(new Rect(920f, 445f, 200f, 20f), EvidenceESP, "Доказательства") != EvidenceESP)
            {
                EvidenceESP = !EvidenceESP;
            }

            if (GUI.Toggle(new Rect(1120f, 400f, 200f, 20f), SpeedHack, "Speedhack") != SpeedHack)
            {
                SpeedHack = !SpeedHack;
            }

            if (GUI.Toggle(new Rect(1120, 415f, 200f, 20f), fullbrighttoggle, "FullBright") != fullbrighttoggle)
            {
                fullbrighttoggle = !fullbrighttoggle;
                FullBright.changeBright();
            }

            GUI.Label(new Rect(740f, 145f, 200f, 20f), "Свет:");
            if (GUI.Button(new Rect(740f, 175f, 200f, 20f), "Вкл весь свет"))
            {
                foreach (LightSwitch lightSwitch1 in Main.lightSwitches)
                {
                    lightSwitch1.TurnOn(true);
                    lightSwitch1.TurnOnNetworked(true);
                }
            }
            if (GUI.Button(new Rect(740f, 195f, 200f, 20f), "Выкл весь свет"))
            {
                foreach (LightSwitch lightSwitch2 in Main.lightSwitches)
                {
                    lightSwitch2.TurnOff();
                    lightSwitch2.TurnOffNetworked(true);
                }
            }

            if (GUI.Toggle(new Rect(1120f, 300f, 200f, 20f), ShowInfoGhost, "Show Ghost Info") != ShowInfoGhost)
            {
                ShowInfoGhost = !ShowInfoGhost;
            }
            if (GUI.Toggle(new Rect(1120f, 250f, 200f, 20f), ShowInfoPlayer, "Show Player Info") != ShowInfoPlayer)
            {
                ShowInfoPlayer = !ShowInfoPlayer;
            }
            if (GUI.Toggle(new Rect(1120f, 200f, 200f, 20f), showMissionInfo, "Show Player Info") != showMissionInfo)
            {
                showMissionInfo = !showMissionInfo;
            }
            if (GUI.Toggle(new Rect(1120f, 150f, 200f, 20f), showItemList, "Show Item List") != showItemList)
            {
                showItemList = !showItemList;
            }
        }