π»MDT
Police Lawyer and EMS MDT
Compatible with QBCore and ESX

| Tebex | CFX.re | Youtube Preview | Discord |
Installation
Dependencies
Installing in server
Make sure oxmysql installed in resources folder
Place xn-mdt.zip in resources folder
Extract xn-mdt.zip
Add
ensure oxmysql
(if not already present)Add
ensure xn-mdt
(Optional) Download
ps-dispatch
from given link above and changeConfig.Core = "ESX"
(for ESX) inconfig.lua
of ps-dispatch and rename the folder tops-dispatch
Setting up database
Delete any table whose name starts with mdt in your database
Import mdt.sql file in your database present in xn-mdt folder
Config
Config.lua
Read comments in config.lua for more info
locales.lua, dist/locales.js
Locales config for your own custom translations
dist/charges.js
There is already a predefined charges list with 5-6 charges to understand the format. Make sure to follow the same format
dist/emsReportTypes.js
Set your own report types for Reports tab in EMS MDT
dist/evidenceColors.js
Set colors for different evidence types
Available colors are: red, black, blue, purple, white only
dist/reductions.js
This is config to add available reductions to reduce the total fine by some percentage
5 will mean 5% reduction option to be available
Warning: This is for initial setup only, dont change it once incidents are created in MDT
Commands
Last updated