π¨Dispatch Alert
π MDT Alert System β Server Side Trigger
π Event: kartik-mdt:server:sendDispatchNotification
kartik-mdt:server:sendDispatchNotificationβ
Usage Example (Server Side)
local dispatchData = {
title = "Shots Fired",
code = "10-71",
description = "Multiple shots fired near Legion Square",
location = "Legion Square",
sound = "dispatch",
x = 215.76,
y = -810.12,
z = 30.73,
type = "Alert", -- or "Call"
person = {
name = "John Doe",
phone = "123-456-7890",
citizenid = "CIT12345"
},
weapon = {
name = "WEAPON_PISTOL"
},
blip = {
radius = 75.0,
sprite = 161,
color = 1,
scale = 1.2,
length = 5 -- in minutes
},
jobs = {
police = true,
ems = true
}
}
TriggerEvent('kartik-mdt:server:sendDispatchNotification', dispatchData)π¦ Payload Structure
AlertData (Table)
AlertData (Table)Field
Type
Required
Description
π§ Tips
π Related Export
Last updated