diff --git a/vMenu/menus/Recording.cs b/vMenu/menus/Recording.cs index 416964fb3..7080793d2 100644 --- a/vMenu/menus/Recording.cs +++ b/vMenu/menus/Recording.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -21,12 +21,20 @@ public class Recording private void CreateMenu() { + AddTextEntryByHash(0x86F10CE6, "Upload To Cfx.re Forum"); // Replace the "Upload To Social Club" button in gallery + AddTextEntry("ERROR_UPLOAD", "Are you sure you want to upload this photo to Cfx.re forum?"); // Replace the warning message text for uploading + // Create the menu. menu = new Menu("Recording", "Recording Options"); + MenuItem takePic = new MenuItem("Take Photo", "Takes a photo and saves it to the Pause Menu gallery."); + MenuItem openPmGallery = new MenuItem("Open Gallery", "Opens the Pause Menu gallery."); MenuItem startRec = new MenuItem("Start Recording", "Start a new game recording using GTA V's built in recording."); MenuItem stopRec = new MenuItem("Stop Recording", "Stop and save your current recording."); MenuItem openEditor = new MenuItem("Rockstar Editor", "Open the rockstar editor, note you might want to quit the session first before doing this to prevent some issues."); + + menu.AddMenuItem(takePic); + menu.AddMenuItem(openPmGallery); menu.AddMenuItem(startRec); menu.AddMenuItem(stopRec); menu.AddMenuItem(openEditor); @@ -44,6 +52,16 @@ private void CreateMenu() StartRecording(1); } } + else if (item == openPmGallery) + { + ActivateFrontendMenu((uint)GetHashKey("FE_MENU_VERSION_MP_PAUSE"), true, 3); + } + else if (item == takePic) + { + BeginTakeHighQualityPhoto(); + SaveHighQualityPhoto(-1); + FreeMemoryForHighQualityPhoto(); + } else if (item == stopRec) { if (!IsRecording())