FiveM police scripts: how they work together
A FiveM police setup usually runs on five scripts: a police job for the arrest, a dispatch for calls, an MDT for records, an evidence script for crime scenes and a jail for the sentence. On ESX, Qbox and QBCore, ours link up through a few config values, and each one keeps its own list of police jobs.
Our Advanced Police Job is the one officers use on the street. The other four run beside it, and each is sold separately.
What each script does
| Script | What officers do in it | What it sends on |
|---|---|---|
| Advanced Police Job | Cuff, search, drag, fine and impound from the F6 menu, and use the radar, breathalyzer and fingerprint scanner | Sentences, fines and the boss menu |
| Dispatch System | Follow calls and units on a live map, take calls with the arrow keys, press the panic button | Calls, to the MDT map |
| All-in-One MDT V2 | Search profiles and vehicles, write reports and warrants, set charges | Sentences, to the jail |
| Realistic Evidence System V2 | Find casings, blood and fingerprints with a flashlight, analyse them, file them in lockers | Locker evidence, to the MDT |
| Advanced Jail System V2 | Run the Prison MDT, lockup cells and ankle monitors | Nothing. It takes the sentences |
How a call turns into a sentence
- A call comes in. Dispatch System sends its own alerts, such as shooting, speeding, vehicle theft and the panic button. Other scripts add calls through its
addCallexport. WithConfigin the MDT’s.Dispatch = 'tk' config, the same calls show on the MDT map..lua - Officers work the scene with the police job. They check speed with the radar and identity with the fingerprint scanner, then cuff and search from the F6 menu.
- Officers collect the evidence. Shooting and injuries leave casings and blood that show up under a flashlight, and a UV light finds fingerprints inside vehicles. Officers analyse each piece and put it in a locker.
- With
Configin the evidence script’s.UseMDT = true config, each piece put in a locker gets an entry on the MDT’s police page. Taking it back out removes the entry. The option ships off..lua - The officer writes the report in the MDT and sets the charges.
- The sentence goes to the jail. From the MDT, that needs
Configin the MDT’s.Jail = 'tk' config. From the police job’s F6 menu,.lua Configis already the default. Both call the jail’s.Jail = 'tk' jailexport, so the player ends up in the same prison either way. Officers can also sentence from the jail’s own Prison MDT.
The police job has evidence lockers of its own. They store items by name and send nothing to the MDT. Only lockers in Realistic Evidence System V2 do.
What links to what
These are the settings that pass sentences, calls and evidence between ours, read from their config and editable files on 26 October 2026:
| From | To | Setting | As shipped |
|---|---|---|---|
| Advanced Police Job | Advanced Jail System V2 | Config in the police job’s config |
On |
| All-in-One MDT V2 | Advanced Jail System V2 | Config in the MDT’s config |
Off |
| Dispatch System | All-in-One MDT V2 | Config in the MDT’s config |
Off |
| Realistic Evidence System V2 | All-in-One MDT V2 | Config in the evidence script’s config |
Off |
| Advanced Police Job | Advanced Boss Menu V2 | Config in the police job’s config |
Off ('esx') |
The MDT can also open the Prison MDT and the dispatch map from its sidebar. Both page entries ship commented out at the end of the police MDT’s pages in config.
The police job has no direct link to the dispatch or the evidence script. They only need the officer’s job on their own police list, as “Add a sheriff or a second department” shows.
Fines go through the police job’s Config, and FiveM vehicle keys, dispatch and billing fixes explains its three values. If you run another vendor’s dispatch or jail with our MDT, What a FiveM MDT does lists the options it accepts.
Add a sheriff or a second department
Each script reads its own list of police jobs. A job missing from one list works in the other four and fails in that one. Here’s where each list lives and what it holds as shipped:
| Script | Where the list lives | Jobs as shipped |
|---|---|---|
| Advanced Police Job | jobs in each station of Config |
police, sheriff |
| Dispatch System | Config |
police, sheriff, leo |
| All-in-One MDT V2 | Config |
police, leo, sheriff |
| Realistic Evidence System V2 | Config |
police, sheriff |
| Advanced Jail System V2 | Config, split into jail, lockup, unjail and other |
police |
Advanced Jail System V2 is the one to watch. On a fresh install, a sheriff can take calls, open the MDT and collect evidence, but every sentence they send is refused with “You are not a police or your grade isn’t high enough”. Add sheriff = 0 to all four lists in the jail’s Config, then restart the jail.
The MDT has a second layer. Its page permissions in config name only police, so a sheriff can open the MDT but needs rights on each page. You can give them in config or on the MDT’s own permissions page, which needs police grade 3 as shipped.
Check it works
On your test server, give a player the sheriff job and go on duty. Then:
- Press the panic button, O as shipped. The call should show in the call manager and, with
Config, on the MDT map..Dispatch = 'tk' - Put a casing in an evidence locker. With
Config, it should appear on the MDT’s police page..UseMDT = true - Give a second player a short sentence from the F6 menu. They should land in the prison. If the sheriff sees “You are not a police or your grade isn’t high enough”, the jail’s
Configstill lacks.PoliceJobs sheriff.
All five scripts are in our Essential plan, together with Advanced Ambulance Job and Advanced Boss Menu V2, for one monthly subscription. You can compare it with Ultimate on the plans page. If you’d rather pay once and keep them, the same five come together in our Police Complete bundle. For the jail side of the choice, see FiveM jail vs admin jail.


