zephyr_mdt
| Field | Value |
|---|---|
| Version | 2.4.1 |
| Author | Zephyr Development |
| Status | Stable |
| Default key | F7 |
Overview
zephyr_mdt is the police Mobile Data Terminal for Zephyr. It provides officers with a full in-game NUI panel for searching persons, managing cases and evidence, issuing charges, tracking suspects, and administering department records.
Access is controlled by job name (Config.AllowedJobs) and optional minimum grade (Config.MinGrade). The MDT can be opened with the configured keybind or triggered programmatically by other resources.
Features
| Module | Description |
|---|---|
| Person Search | Search by name, CID, or plate. Returns charges, vehicles, properties, licenses, demerits, and notes. |
| Cases | Create and manage investigation cases with evidence lockers (ox_inventory). |
| BOLOs | Create, cancel, and sync BOLOs with zephyr_dispatch. |
| Warrants | Issue and track active arrest warrants. |
| Tracking | Register ankle monitors. Ping phone, ankle monitor, or plate for a live location blip. |
| Gang Intel | Maintain a database of known gangs, members, territory, and threat level. |
| Impound Lot | View and release impounded vehicles from zp_impound. |
| HQ | Bulletins (grade-gated), reports, warrants, and registered weapons. |
| Offences | Full offence editor — categories, fines, jail times. |
| Guides / SOPs | Read-only SOP viewer loaded from Config.Procedures. |
Dependencies
| Resource | Required | Notes |
|---|---|---|
ox_lib | Yes | UI components, callbacks |
oxmysql | Yes | Database access |
zephyr_connect | Yes | Framework bridge (QBX/ESX) |
ox_inventory | Optional | Evidence lockers per case |
Configuration
Key settings in shared/config.lua:
| Key | Default | Description |
|---|---|---|
Config.OpenKey | F7 | Keybind to open / close the MDT. |
Config.AllowedJobs | police, etc. | Jobs that can access the MDT. |
Config.MinGrade | 0 | Minimum job grade required (0 = any grade). |
Config.JailFineMethod | bank | bank deducts fine automatically; none skips it. |
Config.PhoneResource | auto | Phone resource for number lookups (auto, lb-phone, zephyr_phone). |
Config.Ping.cooldown | 60 | Seconds between pings per officer. |
Config.Ping.blipDuration | 12 | Seconds the ping blip stays on the map. |