🛠️ Installations

📱 Syntax PauseMenu - Configuration Guide

� Quick Setup

Installation

  1. Download the resource to your resources folder

  2. Add to server.cfg: ensure Syntax_PauseMenu

  3. Restart your server

Requirements

  • ESX or QBCore Framework

  • Updated FiveM Server


⚙️ Basic Configuration

Framework & Language

Config.Framework = 'auto'  -- 'esx', 'qbcore', or 'auto'
Config.Locale = 'en'       -- 'en', 'es', 'fr'
Config.OpenKey = 'ESCAPE'  -- Menu open key

Logo Settings


🎵 Audio System

Adding Custom Sounds:

  1. Place .mp3 files in nui/assets/

  2. Update config with filename

  3. Adjust volume as needed


� Player Information


🗺️ Map Configuration


📢 Announcements

Announcement Structure:

  • title - Main title

  • text - Description text

  • icon - FontAwesome icon

  • color - Text/icon color (hex)


Available Actions:

  • openSettings - Open settings menu

  • resume - Close menu and continue

  • disconnect - Disconnect from server


🔗 Discord Integration

Setup Webhook:

  1. Go to Discord channel settings

  2. Create webhook and copy URL

  3. Paste URL in webhookURL


⚡ Performance

Recommendations:

  • High player count: 2000ms (2 seconds)

  • Small servers: 500ms (0.5 seconds)

Built-in Optimizations

  • ✅ Event delegation for better memory usage

  • ✅ Request cancellation to avoid pending requests

  • ✅ Selective updates (only changed data)

  • ✅ Audio object reuse

  • ✅ Hover sound frequency control


🎯 Events & Callbacks

Client Events

Server Events


🛠️ Troubleshooting

Menu not opening:

  • ✅ Check resource is in server.cfg

  • ✅ Verify framework configuration

  • ✅ Check console for errors

No sound:

  • ✅ Ensure Config.Sounds.enabled = true

  • ✅ Check MP3 files are in nui/assets/

  • ✅ Verify filenames in config

Player info missing:

  • ✅ Confirm framework compatibility

  • ✅ Check ShowPlayerInfo configuration

  • ✅ Verify script permissions


📞 Support


Enjoy your optimized pause menu! 🚀

Last updated