OX Inventory
For servers using ox_inventory, you need to define the MDT items in your ox_inventory/data/items.lua file.
Simply copy and paste the following code block into your items list:
['mdt'] = {
label = 'Mobile Data Terminal',
weight = 250,
stack = true,
consume = 0,
close = true,
description = '',
client = {
export = 'kartik-mdt.openMDT'
}
},
['dispatch'] = {
label = 'Dispatch',
weight = 250,
stack = true,
consume = 0,
close = true,
description = '',
client = {
export = 'kartik-mdt.openDispatch'
}
},
['bodycam'] = {
label = 'Bodycam',
weight = 250,
stack = true,
consume = 0,
close = true,
description = '',
server = {
export = 'kartik-mdt.ToggleBodycam'
},
client = {
remove = function(total)
if total < 1 then
TriggerServerEvent('kartik-mdt:server:removeBodycam')
end
end
}
},
['tracker'] = {
label = 'Tracker',
description = 'The app that lets you track the whereabouts of your fellow mates.',
weight = 100,
consume = 0,
client = {
remove = function(total)
if total < 1 then
TriggerServerEvent('kartik-mdt:server:removePlayerBlip')
end
end
},
server = {
export = 'kartik-mdt.useTracker'
}
},🖼️ Item Images
Make sure to place your item image files (e.g. mdt.png, dispatch.png, bodycam.png, and tracker.png) inside your ox_inventory/web/images/ directory so they are correctly visible to players in their inventory UI.
First Setup
Once you have installed MDT Dispatch V2, you need to configure your departments, set up clearances/permissions, and configure page access. Follow this step-by-step guide to get everything configured correctly.
QB Inventory
For servers using qb-inventory (or qb-core), you need to define the MDT items in your qb-core/shared/items.lua file.