Pause Menu [VORP/RSG]

RedM Pause Menu (VORP/RSG)

A custom pause menu for RedM servers with framework compatibility for both RSG & VORP. This resource replaces the native pause menu with a sleek, modern interface that provides player information, server details, and quick access to essential functions.

Compatible with:
:white_check_mark: VORP
:white_check_mark: RSG


:tv: Preview




:sparkles: Features

  • :100: Custom Stylish Interface: Modern UI design with player information display
  • :electric_plug: Multi Framework Support: Compatible with both RSG & VORP
  • :clipboard: Map Integration: Option to display and hold a physical map while menu is open
  • :video_camera: Dynamic Camera: Camera follows player, horse, or vehicle with appropriate positioning
  • :dna: Changelog Display: Built-in changelog viewer to showcase server updates
  • :keyboard: Hotkey Display: Display custom hotkey bindings for your server
  • :cowboy_hat_face: Multi-language Support: Easy localization with built-in language system
  • :globe_with_meridians: Web Links: Configurable links to your community resources (e.g., Discord, website)

:wrench: INSTALLATION

  1. Extract the resource to your server’s resources folder
  2. Add the following to your server.cfg:
    ensure bs-pausemenu
    
  3. Set your Framework in the config.lua file
  4. Configure the resource to your liking in the config.lua file

:peach: Configuration

The config.lua file allows you to customize various aspects of the pause menu. But it’s ready to use as is.

Config Preview

Framework Selection

The script supports both RSG & VORP frameworks:

Config.Framework = 'rsg'  -- Options: 'rsg', 'vorp'

Map Holding

Configure whether players hold a physical map when the menu is open:

Config.HoldMap = true -- Whether to hold the map in your hands while the pause menu is open
Config.MapModel = "p_cs_map01x" -- Map model to attach s_twofoldmap01x

UI Visibility

Control which UI elements are shown and hidden when the pause menu is open:

Config.UI = {
    DisableRadar = true,  -- Hide minimap when menu is open
    ShowChangelog = true,  -- Enable changelog display
    ShowHotkeys = true,    -- Enable hotkeys display
}

Customizing the Logo

To change the pause menu logo:

  1. Prepare your logo image:

    • Create a PNG / SVG image with transparent background
    • Recommended dimensions: similar to the default logo size
    • Save it with a descriptive name (e.g., your-logo.png or your-logo.svg)
  2. Replace the existing logo:

    • Navigate to html/img/ folder in the resource
    • Replace the existing bs_logo.svg file with your custom logo

    OR

    • Add your new logo file to the html/img/ folder
    • Open html/index.html and update the image source:
    <img src="img/your-logo.png" alt="Logo">
    
  3. Ensure the logo is included in the resource manifest:

    • Check that your logo file is included in the files section of fxmanifest.lua

UI Toggle Function

The Config.ToggleUI(state) function manages UI visibility when opening/closing the pause menu:

function Config.ToggleUI(state)
    if Config.UI.DisableRadar then    -- Handle radar visibility
        DisplayRadar(not state)
    end
    
    -- Handle UI visibility based on framework
    if Config.Framework == 'rsg' then   -- RSG framework
        TriggerEvent('HideAllUI')
        TriggerEvent('bs-hud:client:hideHud', state) -- example bs-hud

    elseif Config.Framework == 'vorp' then   -- VORP framework
        TriggerEvent('vorpmetabolism:setHud', not state)
        TriggerEvent('vorp:showUi', not state)
    end
end

This function:

  • Controls radar visibility based on your configuration
  • Handles framework-specific UI elements (RSG or VORP)
  • Can be customized to support additional HUD & metabolism resources

To add support for your custom HUD:
Add your event trigger inside the appropriate framework condition:

-- Example
TriggerEvent('your-hud:toggleVisibility', state)

:star: Changelog Feature

The bs-pausemenu resource includes a built-in changelog display feature to keep your players informed about server updates.

How to Use the Changelog

  1. If changelog.md is missing, create a file named changelog.md in the root directory of the resource
  2. Format your changelog using Markdown syntax
  3. Enable the changelog display in config.lua by setting Config.UI.ShowChangelog = true

Changelog Formatting

The changelog supports standard Markdown syntax plus special tags for highlighting different types of changes:

# Update v1.2.0

## Major Changes

<added> New fishing system with 15 different fish species
<fixed> Vehicle spawning issues in Valentine
<removed> Outdated mining locations
<important> Economy rebalance affecting all item prices

### Minor Changes

- Adjusted ambient lighting in Saint Denis
- Added new NPC dialogue options

Special tags:

  • <added> - Highlights new features (green)
  • <fixed> - Highlights bug fixes (blue)
  • <removed> - Highlights removed features (red)
  • <important> - Highlights critical information (yellow)

:star: Hotkeys Feature

The hotkeys feature allows you to display custom key bindings to help players learn your server’s controls.

How to Configure Hotkeys

Hotkeys are configured in the config.lua file under the Config.Hotkeys section:

Config.Hotkeys = {
    {
        key = "F1",
        description = "Open Inventory"
    },
    {
        key = "F2",
        description = "Character Menu"
    },
    {
        key = "F3",
        description = "Emote Menu"
    },
    -- Add more hotkeys as needed
}

Each hotkey entry requires:

  • key: The key name to display (e.g., “F1”, “ALT+E”)
  • description: A brief description of what the key does

To enable/disable the hotkeys display, set Config.UI.ShowHotkeys = true/false in your config.


:muscle: Framework (STANDALONE)

This resource is compatible with VORP & RSG Framework. However, there is a fallback for standalone servers.


:handshake: SUPPORT

For support, join our Discord server:

At Blaze Scripts, we’re here to make your life easier - so if you ever run into a hiccup with one of our resources, just reach out and we’ll jump in to help. We strive to support all major frameworks, but on the rare occasion you’re using something outside our usual expertise, we might not be able to provide direct assistance. Either way, we’ll always point you toward resources or guidance to keep your project moving forward.


:fire:BUY NOW

Tebex URL : https://store.blazescripts.dev/package/redm-pausemenu
[20% RELEASE DISCOUNT APPLIED FOR LIMITED TIME]

:lock: This resource utilizes the FiveM Tebex Escrow system, which can be found here

Code is accessible No
Subscription-based No
Lines (approximately) 1200
Requirements None
Support Yes