Snippets
EXPORT FOR ESX/QBCORE NOTIFICATIONS
ESX (es_extended/client/functions.lua)
(es_extended/client/functions.lua) Replace:
function ESX.ShowNotification(message, type, length)
if GetResourceState("esx_notify") ~= "missing" then
return exports["esx_notify"]:Notify(type, length, message)
end
print("[^1ERROR^7] ^5ESX Notify^7 is Missing!")
endTo:
function ESX.ShowNotification(message, type, length)
if GetResourceState("mv-notify") ~= "missing" then
return exports["mv-notify"]:sendNotification(type, length, message)
end
print("[^1ERROR^7] ^5MV Notify^7 is Missing!")
endQBCORE (qb-core/client/functions.lua)
Replace:
To:
Last updated