This is a short and simple guide that explains how to set up our notifications in your es_extended
Notifys
Search in the es_extended/client/functions.lua for this function:
functionESX.ShowNotification(message,notifyType,length)returnIsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message)end
Replace the old one with this
functionESX.ShowNotification(message,notifyType,length)local titel ="Notify"if notifyType ==nilthen notifyType ="info"endif notifyType =="info" then titel ="Information"elseif notifyType =="success" then titel ="Success"elseif notifyType =="error" then titel ="Error"end exports["S-HUD"]:MakeNotifyInfo(notifyType, titel, message, length)end
Help Notify
Search in the es_extended/client/functions.lua for this function:
Search in the es_extended/client/functions.lua for this function:
functionESX.Progressbar(message,length,options)returnIsResourceFound('esx_progressbar') and exports['esx_progressbar']:Progressbar(message, length, options)end