> For the complete documentation index, see [llms.txt](https://mi-store.gitbook.io/mistore-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mi-store.gitbook.io/mistore-docs/resources/mi-ptools.md). Agents can also search and read this documentation through its [MCP server](https://mi-store.gitbook.io/mistore-docs/~gitbook/mcp).

# mi-ptools

A complete police resource for Qbox. Crime-scene equipment, forensics, a Tactical Tablet, dispatch, a unit board and case files, all linked together.

MI Police Tools is a complete police resource for Qbox: crime-scene equipment, forensics, a Tactical Tablet, a dispatch system, a unit board and case files, all linked together. A call becomes a case, the evidence found near it lands in the case, the lab fills the case in by itself, and a warrant from the case is watched by the cameras.

{% hint style="info" %}
Current version: **1.1.0**. Everything is set up in config files, every database table is created on start, and every key can be changed by players in Settings, Key Bindings, FiveM.
{% endhint %}

## Features

### Dispatch and units

* Calls arrive as pop-ups and are worked from one panel, by police and EMS.
* Calls come from the game (shots, alarms, carjackings), from the police tools, from qbx\_police, from players (`/911`, `/311`) and from your own scripts.
* A unit board with every officer on duty, statuses, panic, officer down, backup requests and a command tab.

### Investigation

* A Tactical Tablet with a live map, cases, warrants, mugshots, trackers, air support, body cams, CCTV and speed cameras.
* Case files that fill themselves: calls, evidence bags, field tests, lab results, camera sightings, tickets and a map of everything.
* An evidence room and a forensics lab with real machines placed in game.
* Ankle trackers with keep-out and keep-in zones.

### Field

* Cuffs, rope, escort and mouth tape with the props on the wrists and the face.
* Crime-scene tape, cones, barriers, evidence markers, scene lights, planning boards, wanted posters, body examination, chalk outlines, a megaphone and an evidence camera.
* Breath and drug tests, fingerprint scanner, spike strips, shield, flares, flashbang, K9, tackle, vehicle extraction, helicopter camera and air support, speed cameras, licences, armory.

## Requirements

| Resource                   | Why                                                                             |
| -------------------------- | ------------------------------------------------------------------------------- |
| `ox_lib`                   | callbacks, menus, notifications, locales                                        |
| `qbx_core`                 | players, jobs, grades                                                           |
| `qbx_police`               | the core police job: duty, jail, fines. Cuffs, rope and escort are in mi-ptools |
| `oxmysql`                  | database                                                                        |
| `ox_inventory`             | items: evidence bags, cutters, cones                                            |
| `ox_target`                | interactions on people and objects                                              |
| `screencapture`            | photos: evidence camera, mugshots                                               |
| a FiveManage media API key | where photos are uploaded                                                       |

The scene tools (tape, cones, boards, posters, camera) also find QBCore and ESX, other inventories and other targets by themselves. The police tools need `qbx_core` and `qbx_police`.
