public static async void StopGame(int winner, bool isVoteMap)
        {
            if (PlayerTypes.Innocent == winner)
            {
                if (User.GameInfo.PlayerType == PlayerTypes.Innocent || User.GameInfo.PlayerType == PlayerTypes.Detective)
                {
                    User.AddCashMoney(5000);
                }
                UI.ShowMissionPassedMessage("~g~Innocent win", 20000);
                Notification.Send("~g~Innocent win");
            }
            else if (PlayerTypes.Traitor == winner)
            {
                if (User.GameInfo.PlayerType == PlayerTypes.Traitor)
                {
                    User.AddCashMoney(5000);
                }
                UI.ShowMissionPassedMessage("~r~Traitor win", 20000);
                Notification.Send("~r~Traitor win");
            }

            await Delay(10000);

            if (isVoteMap)
            {
                MenuList.ShowVoteMapMenu();
                await Delay(30000);

                MenuList.HideMenu();
                await Delay(5000);
            }

            User.SetStatusType(StatusTypes.Lobby);
        }
        public static void SetStatusType(int status)
        {
            StopSpec();
            MenuList.HideMenu();

            _statusType = status;
            SetRichPresence(GetStatusTypeLabel());
            Sync.Data.Set(GetServerId(), "StatusType", _statusType);

            switch (_statusType)
            {
            case 0:
                SwitchToMainMenu();
                break;

            case 1:
                SwitchToShop();
                break;

            case 2:
                SwitchToLobby();
                break;

            case 3:
                SwitchToGame();
                break;

            case 4:
                SwitchToSpec();
                break;

            case 5:
                SwitchToBriefing();
                break;
            }

            ResetValues();
        }
 public static void SwitchToGame()
 {
     SetEntityHealth(GetPlayerPed(-1), 200);
     Notification.Send("~g~GO! GO! GO!");
     MenuList.HideMenu();
 }