All our scripts are configured with the HyperCode Notify script.
If you want to use default ESX Notify and HelpNotify you need to adjust the config file in the following way. You are also free to use any other notifcation resource, just replace the code for your notifcation system.
-- Notification
Config.ShowNotification = function(source, message, title, type)
if IsDuplicityVersion() then -- serverside
TriggerClientEvent("esx:showNotification", source, message)
else -- clientside
ESX.ShowNotification(message)
end
end
-- HelpNotify
Config.ShowHelpNotification = function(message)
ESX.ShowHelpNotification(message)
end
-- Progressbar
Config.CallProgressBar = function(source, message, duration)
Citizen.CreateThread(function()
exports["esx_progressbar"]:Progressbar(message, duration)
end)
end