forked from Simnation/Main
14 lines
No EOL
400 B
Lua
14 lines
No EOL
400 B
Lua
if GetResourceState('redutzu-mdt') == 'missing' then return end
|
|
Dispatch = Dispatch or {}
|
|
|
|
RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
|
|
TriggerEvent('redutzu-mdt:server:addDispatchToMDT', {
|
|
code = data.code,
|
|
title = data.message,
|
|
street = data.street,
|
|
duration = data.time,
|
|
coords = data.coords
|
|
})
|
|
end)
|
|
|
|
return Dispatch |