Skip to content

Installation

Dependencies, database, server.cfg order, permissions, and a quick test.

Check dependencies#

Make sure these are installed and starting before 0r-pausemenu:

  • ox_lib
  • oxmysql
  • A framework: es_extended, qb-core, or qbx_core (auto-detected by LTBridge)

Add the resource#

Drop the folder into your server as 0r-pausemenu. Do not change resource name.

Database#

By default, threeDMap.autoDB = true in config/main.lua creates the blip tables on startup:

  • 0r_pausemenu_markers — personal and shared blips
  • 0r_pausemenu_global_markers — admin (global) blips

To import manually instead, run the SQL below and set autoDB = false.

SQL
sql
CREATE TABLE IF NOT EXISTS 0r_pausemenu_markers (
    id INT NOT NULL AUTO_INCREMENT,
    owner VARCHAR(150) NOT NULL,
    label VARCHAR(80) NOT NULL,
    sprite VARCHAR(64) NOT NULL,
    sprite_id INT NOT NULL DEFAULT 1,
    colour VARCHAR(16) NOT NULL,
    coords JSON NOT NULL,
    show_on_2d TINYINT(1) NOT NULL DEFAULT 0,
    blip_colour INT NOT NULL DEFAULT 3,
    scale FLOAT NOT NULL DEFAULT 0.8,
    short_range TINYINT(1) NOT NULL DEFAULT 1,
    shares JSON NOT NULL,
    requests JSON NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (id),
    INDEX idx_owner (owner)
);

CREATE TABLE IF NOT EXISTS 0r_pausemenu_global_markers (
    id INT NOT NULL AUTO_INCREMENT,
    category VARCHAR(80) NOT NULL,
    label VARCHAR(80) NOT NULL,
    sprite VARCHAR(64) NOT NULL,
    sprite_id INT NOT NULL DEFAULT 1,
    colour VARCHAR(16) NOT NULL,
    coords JSON NOT NULL,
    show_on_2d TINYINT(1) NOT NULL DEFAULT 0,
    blip_colour INT NOT NULL DEFAULT 3,
    scale FLOAT NOT NULL DEFAULT 0.8,
    short_range TINYINT(1) NOT NULL DEFAULT 1,
    created_by VARCHAR(150) NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (id),
    INDEX idx_category (category)
);

Update server.cfg#

cfg
ensure ox_lib
ensure oxmysql

# your framework
ensure es_extended      # or qb-core / qbx_core

ensure 0r-pausemenu

Global blip permission#

Framework admins can already create global blips on the 3D map. To give access to other groups, use the ACE from threeDMap.adminAce:

cfg
add_ace group.admin 0r-pausemenu.globalblips allow

Set threeDMap.adminCreator = false if you don't want global blips at all.

Test in-game#

  1. Join the server and press ESC — the new pause menu should open instead of the vanilla one.
  2. Check the header shows your character name, cash, bank, and player count.
  3. Open Map, 3D Map, Stats, and Settings once each.
  4. On the 3D map, create a personal blip and confirm it stays after a reconnect.

If something looks off, see the FAQ.