Introduces client and server modules for dispatch integration with the wasabi_mdt resource. Provides functions to send alerts and retrieve the resource name, enabling compatibility with the wasabi_mdt dispatch system.
10 lines
240 B
Lua
10 lines
240 B
Lua
if GetResourceState('wasabi_mdt') == 'missing' then return end
|
|
Dispatch = Dispatch or {}
|
|
|
|
---This will get the name of the in use resource.
|
|
---@return string
|
|
Dispatch.GetResourceName = function()
|
|
return 'wasabi_mdt'
|
|
end
|
|
|
|
return Dispatch |