Police · FiveM guide

FiveM Police Script: AI Traffic Stops for QBCore & ESX

Police roleplay depends on having something to respond to. On a busy night there is plenty, but in quiet hours officers patrol empty streets and log off. A police missions script fills those hours with AI traffic stops, searches and pursuits that do not need another player on the other side.

This guide covers what to expect from a FiveM police missions script on QBCore and ESX, how Rarx Police Missions handles each point, where the Services Clothing Pack fits for uniforms, and how both are installed.

Buyer's checklist

What a good FiveM police missions script should do

A checklist for giving on-duty officers real work without another player.

  1. Traffic stops the officer controls

    An AI driver pulling over in the middle of a junction ruins the scene. Rarx Police Missions opens a bird's-eye camera so the officer moves, rotates and zooms to pick exactly where the vehicle should stop.

  2. Something to do at the window

    Talking to the driver, issuing a citation, searching the vehicle for contraband and illegal items, or arresting the suspect. Generated documents such as a license, a vehicle registration and warrants add context to each stop.

  3. Drivers who do not always cooperate

    Stops are more interesting when the outcome is uncertain. Drivers may cooperate, flee or turn hostile, and when they flee a pursuit starts automatically.

  4. A full arrest loop

    Arrested NPCs need somewhere to go. Jail locations are configurable, as many as you need, each with its own coordinates and drop-off distance.

  5. Pay that rewards the work

    Separate payouts for each citation, each NPC jailed and each pursuit completed let you balance police income against the rest of your economy.

  6. Guard rails against spam

    Pullovers should cancel when the officer drives away and have a cooldown between them. Only the jobs you list as police should have access.

RARX resources

RARX police resources

AI missions for officers on QBCore and ESX, and a standalone uniform pack for emergency services.

Rarx PoliceMissions — Scripts FiveM resource
Top seller Video
-33%

Scripts

Rarx PoliceMissions

AI traffic stops, citations, vehicle searches, pursuits and jailing for police officers on QBCore and ESX.

  • QBCore
  • ESX
Was €14.99Now €9.99

Rarx Police Missions

Rarx Police Missions gives on-duty officers AI traffic stops with citations, vehicle searches, pursuits and jailing, all driven by a single rebindable pullover key. Notifications and progress bars can use the system you already run, and payouts, police jobs, distances, cooldown and camera heights live in one config file. It runs on QBCore and ESX; Qbox is not listed.

Key features

  • AI traffic stops. Pull over AI-driven vehicles with a keybind and choose exactly where they stop.
  • Citations and searches. Issue citations and fines, or search the vehicle for contraband and illegal items.
  • Pursuits when they flee. If the NPC decides to run, a pursuit starts automatically with its own payout.
  • Payouts per action. Separate earnings for each citation, each NPC jailed and each pursuit completed.
Services Clothing Pack — Clothing FiveM resource

Clothing

Services Clothing Pack

Standalone FiveM uniform pack for military, law enforcement, tactical team, EMS and fire department roleplay.

  • STANDALONE
€59.99

Services Clothing Pack

The Services Clothing Pack adds law enforcement patrol, detective and dress uniforms, tactical team gear, military, EMS and fire department clothing, with male and female variants and several colour variations per uniform. It is standalone and works with standard clothing menus.

Key features

  • Five services. Military, law enforcement, tactical team, EMS and fire department uniforms in one pack.
  • Male and female. Every clothing item comes in male and female variants.
  • Colour variations. Several colour variations for each uniform type, plus weather-appropriate options.
  • Standalone. Works with standard FiveM clothing menus, without a specific framework.

Compatibility

Frameworks and dependencies

Taken from the product data. Police Missions is configured for one framework at a time.

FeatureRarx Police MissionsServices Clothing Pack
Resource namerarx_policemissions—
FrameworksQBCore, ESXStandalone
Framework setupSet RARX.Framework to "qb-core" or "esx" in config/config.lua.A clothing pack that does not depend on a specific framework.
Required resourcesox_libNone
Optional resourcesprogressbar, progressBars, mythic_progbar or ox_lib for progress bars, mythic (old or new), tnotify, okokNotify or ox_lib for notificationsNone
DocumentationOn this site—

Setup

How to install a FiveM police missions script

A summary of the setup for Rarx Police Missions. The documentation covers every config option.

Full documentation
  1. 01

    Download from the Cfx.re Portal

    Download the resource and extract rarx_policemissions into your resources folder.

  2. 02

    Start it after ox_lib

    Ensure rarx_policemissions after ox_lib and your framework in server.cfg.

  3. 03

    Choose framework and systems

    Set the framework to qb-core or esx, then pick your notification and progress bar systems in the config.

  4. 04

    Set jobs, payouts and jails

    List your police jobs, set the payout per citation, jailing and pursuit, and add your jail locations. Restart and press the pullover key behind a vehicle while on duty.

The uniform pack only needs to be added to your resources and started with an ensure line. Full documentation: Rarx Police Missions

Good to know

Police script FAQ

Which frameworks does Rarx Police Missions support?
QBCore and ESX. You choose one in the config by setting the framework to qb-core or esx.
How do officers start a traffic stop?
Get behind a vehicle and press the pullover key (H by default). Pick the stop location with the bird's-eye camera and confirm with E, or cancel with G. Players can rebind the key.
What happens if the driver runs?
A pursuit starts automatically, and ending it successfully grants the pursuit payout.
Can I add more police jobs?
Yes. Add every law-enforcement job that should access missions to the police jobs list in the config.
Which notification and progress bar systems work?
Notifications can use mythic, tnotify, okokNotify, ox_lib or the framework's own system. Progress bars can use progressbar, progressBars, mythic_progbar, ox_lib or none.
Does the uniform pack need a framework?
No. The Services Clothing Pack is standalone and works with standard FiveM clothing menus.

Keep exploring

Keep your officers busy

Rarx Police Missions runs on QBCore and ESX. Ask us about payouts, jobs or your dispatch setup on Discord.