(Optional) Download ps-dispatch from given link above and change Config.Core = "ESX" (for ESX) in config.lua of ps-dispatch and rename the folder to ps-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