Traffic control zones for FiveM/QBCore.
This resource lets authorized jobs create:
- Stop Traffic zones (NPC vehicles forced to
0 km/h) - Slow Traffic zones (NPC vehicles limited to a custom speed in
km/h)
It includes:
- in-world preview marker,
- minimap radius display,
- job/on-duty restrictions,
- Discord webhook embeds,
- optional debug logs.
Add your screenshots/gifs here.
qb-coreox_lib
-
/stoptraffic
Open the Stop Traffic menu and create a0 km/hzone. -
/slowtraffic
Open the Slow Traffic menu and choose:- radius
- speed limit (km/h)
-
/stoptrafficoff
Remove the closest zone you are currently inside (works for both stop and slow zones).
- Authorized player runs
/stoptrafficor/slowtraffic. - A preview circle appears in-world and on minimap.
- Player confirms by pressing Enter in the menu.
- Zone is synced to all players.
- Authorized job members can see minimap circles.
/stoptrafficoffremoves a zone when the player is inside it.
Edit config.lua.
-
Config.Job
Allowed job(s). -
Config.RequireOnDuty
Require player to be on duty. -
Config.Commands
Command names. -
Config.Radius
Radius range and step. -
Config.Slow.Speed
Slow zone speed range/default/step (km/h).
-
Config.Marker
In-world marker style. -
Config.Preview
Preview minimap colors. -
Config.Minimap
Active zone minimap display.
Config.Debug = true/false
Enables/disables console debug logs.
Config.Webhook.EnabledConfig.Webhook.UrlConfig.Webhook.UsernameConfig.Webhook.AvatarUrlConfig.Webhook.IncludePositionConfig.Webhook.Colors
Webhook events:
- Stop zone created
- Slow zone created
- Zone removed
All webhook text is configurable in:
Config.Locale.Webhook
All user-facing texts are in:
Config.Locale
Webhook embed texts are in:
Config.Locale.Webhook
You can translate everything from config.lua without changing script logic.
- Put
pulsar-stoptrafficin your resources folder. - Ensure dependencies are started.
- Add this resource to your server config.
Example:
ensure ox_lib
ensure qb-core
ensure pulsar-stoptraffic- Speed values are set in km/h in menu/config, then converted internally.
- Zone removal requires being inside the target zone.
- Minimap visibility is restricted to authorized job members (and duty if required).
If needed, open an issue with:
- your
config.lua(without private webhook URL), - server/client console logs,
- reproduction steps.




