# Notify / HelpNotify / Progressbar

All our scripts are configured with the HyperCode Notify script.

If you want to use default ESX Notify and HelpNotify you need to adjust the config file in the following way. You are also free to use any other notifcation resource, just replace the code for your notifcation system.

```lua
-- Notification
Config.ShowNotification = function(source, message, title, type)
    if IsDuplicityVersion() then -- serverside
        TriggerClientEvent("esx:showNotification", source, message)
    else -- clientside
        ESX.ShowNotification(message)
    end
end

-- HelpNotify
Config.ShowHelpNotification = function(message)
  ESX.ShowHelpNotification(message)
end

-- Progressbar
Config.CallProgressBar = function(source, message, duration)
    Citizen.CreateThread(function()
        exports["esx_progressbar"]:Progressbar(message, duration)
    end)
end
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyper-code.eu/documentation/guides/notify-helpnotify-progressbar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
