On es_extended/client/functions.lua replace the function ESX.ShowNotification with the following one:
functionESX.ShowNotification(message,type,length)ifGetResourceState('okokNotify') ~='missing' theniftype=='error' then exports['okokNotify']:Alert("Error", message, 5000, 'error')elseiftype=='inform' then exports['okokNotify']:Alert("Info", message, 5000, 'info')elseiftype=='success' then exports['okokNotify']:Alert("Success", message, 5000, 'success')elseiftype=='warning' then exports['okokNotify']:Alert("Warning", message, 5000, 'warning')else exports['okokNotify']:Alert("Info", message, 5000, 'info')endelseprint('[okokNotify]: ERROR: okokNotify resource not FOUND or not STARTED!')endend
QBCore
On qb-core/client/functions.lua replace the function QBCore.Functions.Notify with the following one: