Notify / HelpNotify / Progressbar
-- 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)
endLast updated