attempt to add piotreq_gpt (dispatch compatability)
This commit is contained in:
1 parent
9b2b7de2b4
commit
fd28d9a1a6
2 files changed
+49
No files matched your search
@@ -0,0 +1,10 @@
|
||||
---@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
|
||||
|
||||
return Dispatch
|
||||
Reference in new issue
Block a user