> For the complete documentation index, see [llms.txt](https://s-service.gitbook.io/s-service-documentations/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://s-service.gitbook.io/s-service-documentations/docs-for-our-products-v1/s-hud/installation/hud-setup-into-esx-less-than-1.13.0.md).

# HUD setup into ESX < 1.13.0

This is a short and simple guide that explains how to set up our notifications in your es\_extended

## Notifys

Search in the es\_extended/client/functions.lua for this function:&#x20;

```lua
function ESX.ShowNotification(message, notifyType, length)
	return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message)
end
```

Replace the old one with this &#x20;

```lua
function ESX.ShowNotification(message, notifyType, length)
    local titel = "Notify"
    if notifyType == nil then  
        notifyType = "info"
    end
    if notifyType == "info" then  	
        titel = "Information"
    elseif notifyType == "success" then 
        titel = "Success"
    elseif notifyType == "error" then
        titel = "Error"
    end
    exports["S-HUD"]:MakeNotifyInfo(notifyType, titel, message, length)
end
```

## Help Notify

Search in the es\_extended/client/functions.lua for this function:&#x20;

```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
```

Replace the old one with this &#x20;

```lua
function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    exports["S-HUD"]:MakeHelpNotify("E", msg)
end
```

## Progress Bar&#x20;

Search in the es\_extended/client/functions.lua for this function:&#x20;

```lua
function ESX.Progressbar(message, length, options)
	return IsResourceFound('esx_progressbar') and exports['esx_progressbar']:Progressbar(message, length, options)
end
```

Replace the old one with this &#x20;

```lua
function ESX.Progressbar(message, length, options)
    exports["S-HUD"]:MakeProgressbar(message, length)
end
```
