Success
exports['xNotify']:SendXNotify("This is a success!", "success", "Success!")
Information
exports['xNotify']:SendXNotify("This is an info message!", "info", "Information")
Error
exports['xNotify']:SendXNotify("This is an error message!", "error", "Error!")
Automatic es_extended/client/functions.lua & replace the function ESX.ShowNotification copy & paste below
ESX.ShowNotification = function(message, type, length)
local notifyType = "info"
if type == "success" then
notifyType = "success"
elseif type == "error" then
notifyType = "error"
end
exports['xNotify']:SendXNotify(message, notifyType, "Notification")
end