# Integrations

## ESX v1.12.4

{% tabs %}
{% tab title="Notify" %}

```lua
-- path => es_extended/client/functions.lua
function ESX.ShowNotification(message, notifyType, length)
    return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message)
end

-- with Gx_notify
function ESX.ShowNotification(message, notifyType, length)
    return exports.gx_notify:Notify(message)
end

```

{% endtab %}

{% tab title="NotifyAdvanced" %}

```lua
-- path => es_extended/client/functions.lua
function ESX.ShowAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex)
    AddTextEntry("esxAdvancedNotification", msg)
    BeginTextCommandThefeedPost("esxAdvancedNotification")
    if hudColorIndex then
        ThefeedSetNextPostBackgroundColor(hudColorIndex)
    end
    EndTextCommandThefeedPostMessagetext(textureDict, textureDict, false, iconType, sender, subject)
    EndTextCommandThefeedPostTicker(flash, saveToBrief == nil or saveToBrief)
end

-- with Gx_notify
function ESX.ShowAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex)
    exports.gx_notify:NotifyAdvanced({
        title = sender,
        subject = subject,
        message = msg,
        icon = textureDict,
        timeout = 10,
    })
end
```

{% endtab %}

{% tab title="Text-Ui" %}

```lua
-- path => es_extended/client/functions.lua
function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    AddTextEntry("esxHelpNotification", msg)
    if thisFrame then
        DisplayHelpTextThisFrame("esxHelpNotification", false)
    else
        BeginTextCommandDisplayHelp("esxHelpNotification")
        EndTextCommandDisplayHelp(0, false, beep == nil or beep, duration or -1)
    end
end

-- with Gx_notify
function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    exports.gx_notify:Notify(msg)
end
```

{% endtab %}
{% endtabs %}
