Files

16 lines
427 B
Lua
Raw Permalink Normal View History

---@diagnostic disable: duplicate-set-field
if GetResourceState('piotreq_gpt') == 'missing' then return end
Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
if not data then return end
TriggerServerEvent('community_bridge:Server:piotreq_gpt', data)
end
2025-09-10 12:27:12 -04:00
---This will get the name of the in use resource.
---@return string
Dispatch.GetResourceName = function()
return 'piotreq_gpt'
end
return Dispatch