Page cover

Installation

Installation

if you are using X Notify please get the V2

https://scriptsx.tebex.io/package/6692214 Usage

Manual

    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

Last updated