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