QBCore
How to change the notify on some QB scripts
Add to QBCore
Go to qb-core/client/functions.lua and search
QBCore.Functions.Notify
Change to
function QBCore.Functions.Notify(text, texttype, length, icon)
local exist = exports["stNotify"]:GetType(texttype)
if exist then return exports['stNotify']:Notify(texttype, text) end
return exports['stNotify']:Notify('info', text)
end
Last updated
Was this helpful?