⚙️ Installation & Configuration

Welcome to the setup guide for LX Roadblocks, a powerful and optimized roadblock deployment system with custom UI and multi-framework support.


📁 1. Drag & Drop

  1. Download or purchase lx-roadblocks from our Tebex Store

  2. Drag the lx-roadblocks folder into your server’s resources directory.


🧾 2. Add to server.cfg

ensure lx-roadblocks

Ensure it's started after your framework and dependencies.


📦 3. Dependencies

Framework
Compatible
Config Value

QBCore

"qbcore"

Qbox

"qbcore" (shared)

ESX

"esx"

Note: You do not need to change Config.Framework for Qbox. Simply set it to "qbcore" and Qbox will be supported automatically.


🛠️ 4. Configuration (config.lua)

🔄 Framework Selection

Config.Framework = "qbcore" -- "qbcore" for both QBCore & Qbox, "esx" for ESX

⌨️ Keybinds

Config.MenuKey = 167     -- Default: F6 (set to 288 for F10)
Config.RemoveKey = 47    -- Default: G

View all control keys: FiveM Control Reference


🚓 Allowed Jobs

Set jobs per framework:

Config.AllowedJobs = {
qbcore = { "police", "sheriff" },
esx = { "police" }
}

Only players with these job names will be able to use the roadblock system.


🛒 Tebex Purchase

This script is available on our Tebex store. Get it securely and support future development:

🔗 Buy Now on Tebex


💬 Need Help?

Join our official support Discord:

🔗 Join Support Server

Last updated