Skip to content

ND-Framework/ND_MDT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

ND_MDT

This is a police MDT with many useful features, I plan on making a dispatch panel to go with this sometime and probably another MDT more specific for EMS.

I started this project over two years ago and didn't complete it for different reasons, I've now went back and completed it. Most of the code is still ~2 years old but I did rewrite some parts to make it better and right now it should be good to use with a couple rare minor bugs that I probably didn't find during testing which I'll fix if there's issues created about them.

This resource is created for ND_Core but I might integrate it with ESX and QB in the future if there's any interest.

Future plans

  • Flash officer status if panic button is on
  • Create Keybind for panic button, needs to be clicked twice to prevent accidental click
  • Create call when panic button is pressed and attach all available officers to the call
  • Dismiss calls that are old
  • Dispatch panel
  • EMS Version

Create call

exports["ND_MDT"]:createDispatch({
    caller = "John Doe",
    location = "Sandy shores", -- not required
    callDescription = "Whiteness bank robbery",
    coords = vec3(x, y, z) -- if this is used and location isn't used then it will still display the location from these coords.
})

Inventory item:

["mdt"] = {
    label = "MDT",
    weight = 800,
    client = {
        export = "ND_MDT.useTablet"
    }
}

mdt

Features:

  • General
    • Tablet item with ox_inventory.
    • Create dispatch calls from export in other scripts
    • Officer Live chat
    • Minimize page leaves MDT on same page when reopen
    • Close page resets MDT UI.
  • Dashboard
    • Officer status
    • Dispatch calls
    • Auto status change when responding to calls
    • Auto status change when arriving on scene
    • Attaching and detaching from calls
    • Waypoints to calls
    • Panic button with tts
  • Name searching
    • View person info
    • View person weapons
    • View person vehicles
    • Create person bolo
    • Create person record (charges & fines)
    • Add notes to person
    • Manage person licenses (driver, weapon, etc)
    • View player properties (ND_Properties needs update soon)
  • Plate searching
    • View vehicle info with plate
    • Search owner of vehicle
    • Mark vehicle as stolen
    • Stolen plates integrated with Wraith ARS 2X plate reader.
  • Weapon searching
    • Auto registers legal weapons bought from ox_inventory shops
    • Search by serial number
    • Search weapon owner
    • Mark weapon as stolen
  • Reports
    • Crime, Traffic, Arrest, Incident, Use of Force reports.
    • Each report has a unique case id, this is so evidence can be placed in ox_inventory evidence lockers.
  • Employee management
    • Restricted to boss ranks only
    • Manage employees ranks
    • Manage employees callsigns
    • Fire & hire new employees

Video preview:

mdt-thumbnail-youtube