[ESX & QB] tk_mdt - MDT System (Police & EMS)

Update 1.2.5

  • Combine Config.Licenses and Config.LicenseValues into one config option
  • Minor fixes

Update 1.2.6

  • Add limit to select component to improve performance with large datasets

Update 1.2.7

  • Allow searching by fingerprint
  • Fix license duplication on some occasions when using esx_license
  • Fix legislation displaying wrong information on some occasions

are you able to post with files got changed when you update bro? just so it makes it easier for us to update the script ourselves and i have a couple custom edits done.

Maybe Iā€™ll need to start writing them down, weā€™ll see

Update 1.2.9

  • Allow opening report menu using export
  • Change export openMDT to openUI
  • Move SaveReport to editable server file

Update 1.3.0

  • Fix evidence and weapon names not saving on some occasions
  • Minor fixes to charges page not working as intended

Update 1.3.1

  • Add TogglePhotoMode to editable client file

Update 1.3.2

  • Add French locales

Update 1.3.3

  • Bug fixes

Update 1.3.4

  • Add export for setting employee callsign: exports.tk_mdt:setCallsign(identifier, callsign, page) where page is 'police' or 'ambulance'
  • Add notifications to saving and deleting pages

Update 1.3.5

  • Fixes & improvements

I have some ideas to potential updates

  • Add a feature to delete tags after they have been created.
  • Add a feature to add photos to evidence & weapons.
  • Add a feature to make permissions (Is it possible to make permissions?
    So like, a normal cop canā€™t edit the laws and stuff?)
  • Add a scroll bar in employees.
  • Make it possible to remove the categories in the sidebar.
2 Likes

Hey! Thanks for the ideas, Iā€™m quite busy so not doing that many big changes at the moment, but Iā€™ll write them down nonetheless.

You should be able to remove categories from the sidebar by removing them from Config.SidebarOrder. That will however remove it from every single page that has that category.

Update 1.3.6

  • Improvements to data saving

Update 1.3.7

  • Add Config.Images
  • Add support for rcore prison
  • Add export createPoliceReport
  • Fix police report tag saving not working correctly
  • Other minor changes & improvements

Is it possible, for added support for okokBillingV2?

Support for other billing scripts might be added at some point but you might get it done faster by contacting okok support and giving them the FinePlayer function in client/main_editable.lua and asking them to make it work with their billing script or trying to make it work by yourself using their docs

Update 1.3.8

  • Fix new legislation appearing in charges
1 Like

hi i am having problem with using export for add vehicle to mdt, i trying to put it in lsrp_vehicleshop but not working, idk maybe iam doing something wrong, can u explain me how to use that export?

exports.tk_mdt:registerVehicle({
  playerId = id,
  model = vehicleModel,
  plate = vehiclePlate,
})

Replace ā€œidā€, ā€œvehicleModelā€ and ā€œvehiclePlateā€ with correct values

Update 1.3.9

  • Fix ems training report data being incorrect

Update 1.4.0

  • Add support for newer gksphone version
  • Fix training report values not working as intended when setting to 1
  • Fix employees page not being scrollable