1
0
Fork 0
forked from Simnation/Main
Main/resources/[carscripts]/community_bridge/modules/dispatch/redutzu-mdt/server/server.lua
2025-08-06 16:37:06 +02:00

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