> For the complete documentation index, see [llms.txt](https://docs.cuxial.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cuxial.com/scripts/es/interfaz/cuxial-pausemenu/installation.md).

# Instalación

Instala Cuxial Pause Menu paso a paso: dependencias, convars y orden de arranque.

Cuxial Pause Menu no necesita importar SQL ni añadir items al inventario. No guarda nada en la base de datos.

{% stepper %}
{% step %}

## Comprueba las dependencias

Estos recursos tienen que estar instalados y funcionando antes de añadir el menú:

* `ox_lib`
* `cuxial_bridge`, con uno de los frameworks compatibles: QBox, QBCore o ESX
* OneSync activado en el servidor
  {% endstep %}

{% step %}

## Copia el recurso

Coloca la carpeta `cuxial_pausemenu` dentro de tu directorio `resources`. No le cambies el nombre.

La interfaz ya viene compilada en `web/dist`. No hay que compilar nada.
{% endstep %}

{% step %}

## Quita cualquier otro menú de pausa

Borra o comenta cualquier línea que arranque otro recurso de menú de pausa:

{% code title="server.cfg" %}

```cfg
# ensure tu_menu_de_pausa_anterior
```

{% endcode %}

{% hint style="danger" %}
Dos menús de pausa se pelean por <kbd>Esc</kbd>. Además, Cuxial Pause Menu cierra la pantalla de pausa de GTA cada vez que otro recurso la abre. Deja solo uno.
{% endhint %}
{% endstep %}

{% step %}

## Define las convars

Las dos son opcionales.

{% code title="server.cfg" %}

```cfg
# Idioma del menú (incluye es y en)
setr ox:locale "es"

# Trazas de depuración en la consola del servidor
set cuxial_pausemenu_debug "0"
```

{% endcode %}
{% endstep %}

{% step %}

## Arranca el recurso

Inicia el menú después de sus dependencias y de tu framework:

{% code title="server.cfg" %}

```cfg
ensure ox_lib
# aquí tu framework (qbx_core, qb-core o es_extended)
ensure cuxial_bridge
ensure cuxial_pausemenu
```

{% endcode %}
{% endstep %}

{% step %}

## Comprueba que funciona

1. Entra al servidor y pulsa <kbd>Esc</kbd>. Se abre el marco lateral y no aparece la pantalla de pausa de GTA.
2. Revisa la cabecera: hora, jugadores conectados, tu id, efectivo y banco.
3. Elige **Mapa**. Se abre el mapa de GTA directamente. Ciérralo con <kbd>Esc</kbd>.
4. Fuera del menú, pulsa <kbd>P</kbd>. El mapa se abre sin el marco.
5. Elige **Ajustes**. Se abren los ajustes de GTA.
   {% endstep %}
   {% endstepper %}

Siguiente paso: pon el nombre de tu servidor, tus normas y tus redes en [Configuración](/scripts/es/interfaz/cuxial-pausemenu/configuration.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cuxial.com/scripts/es/interfaz/cuxial-pausemenu/installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
