> 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-anuncios.md).

# Cuxial Anuncios

Anuncios en pantalla para FiveM, con un estilo visual por trabajo diseñado dentro del juego.

Cuxial Anuncios permite que los miembros de un trabajo envíen un anuncio que todos los jugadores ven en pantalla. Cada trabajo tiene su propio estilo, que el staff diseña en un panel dentro del juego con vista previa en vivo.

## Qué hace

* **Un comando para los jugadores.** `/anuncio <mensaje>` envía el texto con el estilo del trabajo actual del jugador.
* **Un estilo por trabajo**, con su título, su logo y su imagen de fondo.
* **Editor de estilos dentro del juego** con vista previa en la posición real de la pantalla.
* **11 plantillas, 8 posiciones en pantalla y 16 animaciones de entrada.**
* **Colores, fuentes y efectos**: degradado, borde animado, destello, línea de acento, líneas diagonales y resplandor.
* **Sonido por estilo**, con su propio volumen.
* **Espera por jugador** entre anuncios.
* **Cola**: los anuncios se muestran de uno en uno, nunca encimados.
* **Estilos guardados en la base de datos.** La tabla se crea en el primer arranque.

## Requisitos

| Recurso         | Obligatorio | Para qué                                      |
| --------------- | ----------- | --------------------------------------------- |
| `ox_lib`        | Sí          | Comandos y callbacks                          |
| `oxmysql`       | Sí          | Guarda los estilos                            |
| `cuxial_bridge` | Sí          | Conecta con tu framework (QBox, QBCore o ESX) |

No tiene integraciones opcionales, ni items de inventario, ni target.

## Páginas

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Instalación</strong></td><td>Dependencias, orden de arranque y primer estilo.</td><td><a href="/scripts/es/interfaz/cuxial-anuncios/installation.md">Instalación</a></td></tr><tr><td><strong>Configuración</strong></td><td>Las opciones de <code>shared/config.lua</code> y qué contiene un estilo.</td><td><a href="/scripts/es/interfaz/cuxial-anuncios/configuration.md">Configuración</a></td></tr><tr><td><strong>Comandos y permisos</strong></td><td>Los dos comandos y quién puede usar cada uno.</td><td><a href="/scripts/es/interfaz/cuxial-anuncios/commands.md">Comandos y permisos</a></td></tr><tr><td><strong>Exports y eventos</strong></td><td>API pública para otros recursos.</td><td><a href="/scripts/es/interfaz/cuxial-anuncios/developers.md">Exports y eventos</a></td></tr><tr><td><strong>Problemas frecuentes</strong></td><td>Los fallos más habituales y cómo resolverlos.</td><td><a href="/scripts/es/interfaz/cuxial-anuncios/troubleshooting.md">Problemas frecuentes</a></td></tr></tbody></table>


---

# 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-anuncios.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.
