forked from Simnation/Main
ed
This commit is contained in:
parent
875c8448e1
commit
c81ae4bb6d
219 changed files with 8036 additions and 7 deletions
10
resources/[tools]/bl_bridge/client/notify/qb.lua
Normal file
10
resources/[tools]/bl_bridge/client/notify/qb.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
---@diagnostic disable: lowercase-global
|
||||
|
||||
---@param data NotificationParams Notification data
|
||||
function notify(data)
|
||||
local title, type, duration in data
|
||||
if type == 'inform' then type = 'info' end
|
||||
TriggerEvent('QBCore:Notify', title, type, duration)
|
||||
end
|
||||
|
||||
return notify
|
Loading…
Add table
Add a link
Reference in a new issue