# SLEEK PAUSE MENU

{% embed url="<https://youtu.be/MQ0y37pcSX8?si=OznbJ_0L8NVOEd5s>" %}

**INSTALLATION GUIDE**

1. Download from [KEYMASTER ](https://keymaster.fivem.net/login?return_url=/asset-grants)and Unzip the **`forge-pausemenu.pack.zip`** and place this folder in your server's resource folder.
2. Add the resource to your server start config: **`ensure forge-pausemenu`**,the name of the folder must not be changed or the resource will not function correctly.
3. Clear the cache of your server and also of your own FiveM.
4. Reboot the entire server with the forge script well ensured in your server.cfg.
5. <mark style="color:red;">**This script does not have any SQL to install.**</mark>
6. <mark style="color:red;">**Do not rename this script, this may cause it to fail when opening the interface.**</mark>

**CONFIG**

The following will explain all the settings, one of the most important things that I recommend you spend a few minutes to understand in order to offer your users the best possible experience.

{% hint style="success" %}
The **translation** of the interface, you can do it through the index.html file, which is located inside the html folder.
{% endhint %}

{% tabs %}
{% tab title="CONFIG" %}
Fill all the **CONFIG** very carefully.  Here you can also translate all the texts of the Pause Menu.

{% code lineNumbers="true" %}

```lua
Config = {}

--  _____ _____ _   _ ______ _____ _____ _   _______  ___ _____ _____ _____ _   _
-- /  __ \  _  | \ | ||  ___|_   _|  __ \ | | | ___ \/ _ \_   _|_   _|  _  | \ | |
-- | /  \/ | | |  \| || |_    | | | |  \/ | | | |_/ / /_\ \| |   | | | | | |  \| |
-- | |   | | | | . ` ||  _|   | | | | __| | | |    /|  _  || |   | | | | | | . ` |
-- | \__/\ \_/ / |\  || |    _| |_| |_\ \ |_| | |\ \| | | || |  _| |_\ \_/ / |\  |
--  \____/\___/\_| \_/\_|    \___/ \____/\___/\_| \_\_| |_/\_/  \___/ \___/\_| \_/

Config.Framework = 'esx' -- esx, qbcore
Config.trigger = 'es_extended' -- qb-core or es_extended

Config.UI = { -- Everything related to Interface texts
    lowPerformanceMode = true,

    commands = { -- You can add as many as you want, just by copying and pasting the previous one.
        {
            command = 'help',
            description = 'Show Help Menu'
        },
        {
            command = 'revive',
            description = 'Revives a player'
        }
    },

    keys = { -- You can add as many as you want, just by copying and pasting the previous one.
        {
            key = 'F5',
            description = 'Open Menu (Default)'
        }
    }
}

-- REPORT BUTTON: Here you will add the export of the Report System you use to be opened when the button is clicked. You can also modify the button to open whatever you want!

Config.ExportReport = function()
    ExecuteCommand("report")
end

```

{% endcode %}
{% endtab %}
{% endtabs %}

{% hint style="success" %}
**If you want to edit the aesthetics or design. You have the HTML open so you can modify the style and everything as you want.**

The script is **RESPONSIVE** for all resolutions as well.
{% endhint %}


---

# 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://codeforge.gitbook.io/codeforge/sleek-series/sleek-pause-menu.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.
