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