Original post · 9mo ago#1
okoknotify working 100 percent tested on qbcore framework , just extract and copy paste into your resources . if you want to make it your default notify do this go to
qb-core/client/functions.lua replace the function QBCore.Functions.Notify with the following one:
Copy
function QBCore.Functions.Notify(text, textype, length)
if textype == 'primary' then textype = 'info' end
local ttype = textype ~= nil and textype or "info"
local length = length ~= nil and length or 5000
exports['okokNotify']:Alert("", text, length, ttype)
end
qb-core/client/functions.lua replace the function QBCore.Functions.Notify with the following one:
Copy
function QBCore.Functions.Notify(text, textype, length)
if textype == 'primary' then textype = 'info' end
local ttype = textype ~= nil and textype or "info"
local length = length ~= nil and length or 5000
exports['okokNotify']:Alert("", text, length, ttype)
end
Download
Unlock costs 10 + 2 tax credits. Like the post and leave a reply to unlock it.
2 replies