QBCore
Onqb-core/client/functions.lua, replace the function QBCore.Functions.Notify with the following:
Copy
function QBCore.Functions.Notify(text, texttype, length, icon)
local color = texttype or 'blue'
local duration = length or 5000
local emoji = icon or nil
if type(text) == 'table' then
exports['UD-notify']:NotifyTitle(
text.text or "Notification",
text.caption or "",
color,
duration,
emoji
)
elseif type(text) == 'string' then
exports['UD-notify']:Notify(
text,
color,
duration,
emoji
)
end
end