Global Pausemenu
Custom pause menu for FiveM. Pressing ESC opens a city panel instead of GTA’s native frontend: identity card, live clock, on-duty counts, owned vehicles and properties, server rules, and shortcuts. Map and settings still open the original Rockstar menus when the player asks for them.
Frameworks: Qbox · QBCore · ESX · ox_core
Notifications: ox_lib · QBCore · ESX · origen_notify · okokNotify · mythic · native
Languages: Spanish · English · French
Overview
While the resource is running, ESC and P no longer bring up the default pause screen. The custom menu opens over a short cinematic: the character holds a tablet, a scripted camera frames them, and the ped is frozen when they are on foot. Inside a vehicle the animation plays without freezing the ped.
The left panel shows a headshot, character name, server ID, job, cash, and bank. The right panel shows the in-game clock, how many players are online against `sv_maxclients`, and how many people are on duty for each job listed in `Config.ServiceJobs`.
Side actions:
| Action | What it does |
| Map | Closes the custom UI and opens the native GTA map |
| Settings | Closes the custom UI and opens the native GTA settings menu |
| Assets | Lists owned vehicles and properties. Properties with coordinates get a GPS button |
| Rules | Shows the lines in `Config.Rules` |
| Shortcuts | Shows the key labels in `Config.Keybinds` |
| Help | Closes the menu and runs `Config.ReportCommand` (default `report`) |
| Cinema | Letterbox bars, radar and HUD hidden, until the player turns it off |
| Social links | Opens each URL from `Config.Socials` in the browser |
| Disconnect | Confirmation, then the player is dropped from the server |
The menu refuses to open while another NUI already has focus, while the character is still loading, or while the ped is falling, ragdolling, parachuting, or in a vehicle that is dropping through the air. Closing another interface does not immediately reopen this menu on the same ESC press.
Compatibility
Set in `config.lua`. `auto` picks up whatever is already started:
Frameworks: Qbox (`qbx_core`), QBCore (`qb-core`), ESX (`es_extended`), ox_core
Notifications: ox_lib, QBCore, ESX, origen_notify, okokNotify, mythic_notify, native
Vehicles are read from the framework’s own table (`player_vehicles`, `owned_vehicles`, or `vehicles`). Properties are read from the first existing table among `apartments`, `player_houses`, and `owned_properties`. There is no SQL file to import.
`config.lua`, `locales/`, and every file under `bridge/` are listed in `escrow_ignore`.
Requirements
[oxmysql](https://github.com/overextended/oxmysql)
[ox_lib](https://github.com/overextended/ox_lib)
A supported framework
No extra items and no edits to other resources are required.