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

# Compatibility

***

## 🧩 Compatibility

### Frameworks

| Framework                 | Estado      | Nota                                                               |
| ------------------------- | ----------- | ------------------------------------------------------------------ |
| **QBox** (`qbx_core`)     | ✅ Soportado | Solo afecta el estilo del aviso de velocidad, no permisos ni panel |
| **QBCore** (`qb-core`)    | ✅ Soportado | Igual que arriba                                                   |
| **ESX** (`es_extended`)   | ✅ Soportado | Igual que arriba                                                   |
| **Standalone / `'none'`** | ✅ Soportado | Usa siempre `ox_lib` para el aviso                                 |

{% hint style="info" %}
El framework es **opcional** en este script. Los permisos siempre son ACE y el panel funciona igual sin importar el framework — la única diferencia es el estilo visual del aviso de "velocidad limitada" al entrar en vehículo.
{% endhint %}

### Dependencias obligatorias

| Sistema   | Estado          | Uso                                                              |
| --------- | --------------- | ---------------------------------------------------------------- |
| `ox_lib`  | ✅ **Requerido** | Zonas (`lib.zones.poly`), callbacks, notificaciones, locales     |
| `oxmysql` | ✅ **Requerido** | Guardado de zonas (vía bridge propio, no el `MySQL.lua` externo) |

### Dependencias opcionales

| Sistema        | Estado     | Uso                                                                                                                                                                                       |
| -------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ox_inventory` | ✅ Opcional | Desarme correcto (`ox_inventory:disarm`) al entrar a una zona sin armas permitidas. Sin él, el desarme sigue funcionando vía `SetCurrentPedWeapon`, pero sin integrarse con el inventario |

### Base de datos

| Requisito           | Estado                                                                                                                                          |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `oxmysql`           | **Obligatorio** — el bridge propio (`server/mysql_bridge.lua`) habla directo con sus exports (`query`, `execute`, `insert`, `update`, `scalar`) |
| Otro conector MySQL | ❌ No soportado directamente                                                                                                                     |

### Idiomas

| Idioma                      | Estado     |
| --------------------------- | ---------- |
| Español (`locales/es.json`) | ✅ Incluido |
| Inglés (`locales/en.json`)  | ✅ Incluido |

### Resumen rápido

✔ Compatible con QBox, QBCore, ESX y standalone (framework es solo cosmético) ✔ Requiere ox\_lib y oxmysql sí o sí ✔ Compatible con ox\_inventory (opcional, mejora el desarme) ✔ Locales ES/EN incluidos


---

# 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 dynamically by asking a question.

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

```
GET https://docs.yeistudios.com/scripts/safe-zone/compatibility.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
