pt_mdt is a comprehensive, modern Mobile Data Terminal (MDT / CAD) built specifically for FiveM police roleplay. Designed from the ground up for ESX Legacy and ox_inventory, it requires zero build steps or NodeJS bundling โ download, configure, and launch directly.
- ๐ฌ๐ง English (
en) - ๐จ๐ฟ Czech (
cs) - ๐ฉ๐ช German (
de)
- ๐ฑ Physical Hardware Tablet (
mdt_tablet):- MDT is opened exclusively via the inventory tablet item (usable on foot with a realistic holding animation, or directly inside vehicles).
- ๐บ๏ธ Full HD Tactical GPS Live Map (Leaflet.js):
- High-definition 8192x8192 offline GTA V world map with custom CRS coordinates.
- Real-time live blips and status tracking for all active Police and EMS personnel (vehicle vs. foot status, heading, unit grade).
- Quick-jump navigation to Los Santos, Sandy Shores, and Paleto Bay.
- Instant one-click GPS waypoint navigation.
- ๐ฏ Stalker Dual DSR In-Vehicle Speed Radar:
- Front and rear antenna target scanning utilizing native shape-test capsules.
- Displays patrol speed, target speed, and automated target license plate recognition.
- Fast Lock: Lock fast targets with
NUMPAD8(/radarlock) accompanied by frontend audio alerts. - Auto Power-Save: Exiting the police vehicle automatically hides the radar HUD. Scanning resumes automatically when the officer returns to the driver's seat.
- Custom HUD Positioning (
/radarset&/radarreset): Each player can drag and place the radar anywhere on their screen. Automatically resets to default bottom-right on server restart.
- ๐ชช Citizen Records & Direct License Management:
- Full citizen lookup by name, surname, or citizen ID.
- Direct license management: grant or revoke driver (Class B), motorcycle (Class A), truck (Class C), and weapon licenses directly in MDT (
user_licenses). - Criminal convictions history, photo mugshot URL, and confidential officer notes.
- ๐ DMV Vehicle Registry:
- Search by license plate (SPZ), view registered owner, toggle stolen vehicle status, and append internal notes.
- โ๏ธ Incidents & Multilingual Penal Code:
- Log multi-officer and multi-suspect incident reports.
- 5-category comprehensive penal code completely localized into English, Czech, and German.
- Automated cumulative fine calculation and prison sentencing with billing dispatch.
- ๐ Warrants & BOLO Broadcasts:
- Issue active arrest warrants with probable cause.
- Urgent BOLO broadcasts for wanted persons and vehicles.
- ๐ป 911 Emergency Dispatch:
- Live call feed with caller identification and one-click GPS route targeting.
- es_extended (ESX Legacy)
- oxmysql
- ox_lib
- ox_inventory
Clone this repository into your FiveM server's resources directory:
cd resources/[pt_scripts]
git clone https://github.com/Petr1209/pt_mdt.gitExecute the provided install.sql file in your database manager (HeidiSQL, phpMyAdmin, etc.), or allow the script to automatically verify and create all tables upon first server startup.
Add the item entry into ox_inventory/data/items.lua:
['mdt_tablet'] = {
label = 'Police MDT Tablet',
weight = 1000,
stack = false,
close = true,
description = 'Mobile police terminal for accessing citizen records, DMV, warrants, and dispatch.',
client = {
image = 'mdt_tablet.png'
}
},Copy the bundled mdt_tablet.png from the root of this resource into:
resources/ox_inventory/web/images/mdt_tablet.png
Ensure the resource in your server.cfg in the following order:
ensure ox_lib
ensure oxmysql
ensure ox_inventory
ensure pt_mdt| Command / Key | Description |
|---|---|
mdt_tablet (Item) |
Opens the police MDT tablet |
NUMPAD9 / /radar |
Toggles in-vehicle speed radar on/off |
NUMPAD8 / /radarlock |
Locks current target vehicle speed |
/radarset |
Enables mouse drag mode to reposition the radar HUD |
/radarreset |
Reverts radar HUD back to default position |
-- Language setting: 'en', 'cs', or 'de'
Config.Locale = 'en'
-- Authorized police jobs and permissions
Config.AllowedJobs = {
['police'] = { label = 'Police Department', badge = 'LSPD', canIssueWarrant = true, canSendToJail = true },
['sheriff'] = { label = 'Sheriff Office', badge = 'LSSD', canIssueWarrant = true, canSendToJail = true }
}Send custom 911 emergency calls to the MDT dispatch tab from any external script (e.g. store robberies, bank heists):
-- Server-side export
exports['pt_mdt']:SendDispatch({
code = '10-31',
title = 'Vangelico Jewelry Heist',
message = 'Silent security alarm triggered, armed suspects on scene.',
caller = 'Store Security System',
coords = vector3(-631.5, -237.4, 38.0)
})This project is licensed under the MIT License - see the LICENSE file for details.
Developed for the FiveM community by pt_scripts (Petr1209).




