Integration
QB
function QBCore.Functions.Notify(text, texttype, length)
texttype = texttype or 'primary'
length = length or 5000
exports['savoy_notify']:Notify(texttype, '', text, length)
endOX
function lib.notify(data)
if type(data) == 'string' then
data = { description = data }
end
local notifyType = data.type or 'information'
local title = data.title or ''
local description = data.description or ''
local duration = data.duration or 5000
exports['savoy_notify']:Notify(notifyType, title, description, duration)
endLast updated