public void Start() { Lib.Main.Start(); VehicleLocked = typeof(InteractableVehicle).GetField("_isLocked", BindingFlags.NonPublic | BindingFlags.Instance); try { var player = PlayerTools.GetSteamPlayer(Player.player); // Db.CheckUsers(player.playerID.steamID.m_SteamID, player.playerID.playerName); } catch (Exception e) { Logging.Exception(e); } var size = new Vector2(205, 590); PlayerRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Center, MenuTools.Vertical.Center, false); FriendsRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Center, MenuTools.Vertical.Center, false); FriendsRect.x = PlayerRect.x + 215; size = new Vector2(200, 700); MainRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Center, MenuTools.Vertical.Center, false); MainRect.x = PlayerRect.x - 210; MainRect.y = PlayerRect.y; size = new Vector2(410, 100); TextRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Center, MenuTools.Vertical.Center, false); TextRect.x = PlayerRect.x; TextRect.y = PlayerRect.y + 600; size = new Vector2(200, 500); InfoRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Left, MenuTools.Vertical.Top, true, 5f); size = new Vector2(200, 700); PremRect = MenuTools.GetRectAtLoc(size, MenuTools.Horizontal.Left, MenuTools.Vertical.Top, true, 5f); Addlist = new List <Friend>(); Remlist = new List <Friend>(); Playerscroll = new Vector2(); Playerscroll.y = 1f; Friendscroll = new Vector2(); Friendscroll.y = 1f; Playerfocus = 0; Friendfocus = 0; }