openMDT
π Description
Opens the in-game MDT interface for the current player. Allows officers to search records, add BOLOs, write reports, and more.
β
Usage
Open MDT normally
RegisterCommand("mdt", function()
exports['kartik-mdt']:openMDT()
end, false)
Open MDT with optional data
local data = {
page = "vehicles", -- Optional: which page to open (e.g. "vehicles", "reports", "citizens")
plate = "XYZ123" -- Optional: if page = "vehicles", auto-load this plate
}
RegisterCommand("mdtvehicle", function()
exports['kartik-mdt']:openMDT(data)
end, false)
Last updated