mr-pause — Cinematic Pause Menu for FiveM
Replace the default ESC screen. mr-pause is a fully server-authoritative, performance-focused pause menu replacement — compatible with out of the box, with clean NUI and zero resmon impact during gameplay.
Features
Cinematic Camera
-
Smooth dolly-in camera animation with depth of field on every ESC press
-
Fully configurable FOV, distance, height, angle offset, ease-in and ease-out duration
-
Character freezes cleanly during the menu and unfreezes on close
Player Info Panel
-
Live street and intersection location
-
Health and armor progress bars
-
Cash and bank balance
Vehicle Panel
-
Automatically shown when the player is in a vehicle
-
Displays vehicle model name, current speed (km/h), and fuel level
-
Supports LegacyFuel, ox_fuel, ps-fuel, and native fuel
Server Info
-
Online player count and max capacity
-
Live ping display
-
Session timer (hours, minutes, seconds)
-
Custom server name
Avatar Support
-
Discord profile picture via Bot token (animated GIF avatars supported)
-
Steam profile picture via Web API key or public XML fallback
-
Per-license avatar cache — no repeated API calls during a session
Menu Buttons
-
Resume, Map, Settings, Discord, and Quit — all configurable
-
Button order is fully customizable from
config.lua -
Optional vehicle shortcut: pressing ESC in a vehicle opens the map directly
Theme Customization
-
Accent color, glass background, health/armor/money colors — all CSS variables in
config.lua -
Glassmorphism UI with subtle borders and layered panels
Multilingual
-
Turkish and English included out of the box
-
Add any language with a single locale block in
config.lua
Security & Performance
-
Avatar fetching is async and cached server-side — no gameplay impact
-
Live update thread runs only while the menu is open, then stops completely
-
Dolly camera thread exits automatically after the animation finishes
-
NUI focus and control blocking are handled cleanly to avoid conflicts with other scripts
Easy Configuration
Everything lives in config.lua:
-
Server name, Discord link, default language
-
Camera FOV, distance, depth of field, and timing
-
Avatar source (discord / steam)
-
Fuel script selection
-
Button order and vehicle map shortcut toggle
-
Full color theme
Requirements
-
FiveM server (artifact 5181+)
-
Lua 5.4
-
LegacyFuel / ox_fuel / ps-fuel (optional — native fallback included)
-
Discord Bot token or Steam Web API key (optional — only needed for avatar support)