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!")
end
Replace:
function ESX.ShowNotification(message, tipo, length)
if GetResourceState("zcmg_advanced-notify") ~= "missing" then
length = length or 5000
tipo = tipo or 'info'
if type(tipo) ~= string then tipo = 'info' end
TriggerEvent('zcmg_advanced-notify:open', 'Esx Developer PT', message, length, tipo)
else
print("[^1ERROR^7] ^5zcmg_advanced-notify^7 não estÔ instalado!")
end
end