# ‌📻 xradio

{% embed url="<https://www.youtube.com/watch?v=sJnRgCNBgVQ&ab_channel=rcore>" %}
Showcase
{% endembed %}

[**Buy Here**](https://store.rcore.cz/package/4342942)

## Installation & Configuration Guide

{% hint style="danger" %}
This script **REQUIRES** artifact version **4752** or **newer**
{% endhint %}

1. Upload the script somewhere to your resources folder.
2. Open `xradio/config.lua`
3. Change `Config.FrameWork` value by your server framework (`0` for standalone, `1` for ESX, `2` for QBCore)
   * If you are using standalone, you can change `Config.DefaultRadioCountInInventory` for number of how many radios will player have in "pocket"
4. Set `Config.ox_inv` to `true` if you are yousing ox\_inventory, otherwise keep it `false`

Make sure to read the contents of *config.lua* and configure all the stuff that's necessary for this resource to work correctly.

## Common Issues & Solutions

### You lack the required entitlement

Do you see something like this in the console?

![](/files/761Vqog2CSzq1QR1hG68)

Please read this guide: [Error: You lack the required entitlement](/cfx-auth-system/you-lack-the-entitlement.md)

### Syntax error near '<\1>'

Do you see something like this in the console?

![](/files/mqTUFiILf9zRSaVtpWLs)

Please read this guide: [Error: syntax error near '<\1>'](/cfx-auth-system/error-syntax-error-near-less-than-1-greater-than.md)

### Could not find dependency / Can't run

Do you see something like this in the console?

![](/files/gJXnbfy9tf8UbMg4g8JK)

![](/files/EcIIk3W94qvwTl2EVaGd)

![](/files/4cyHSzU7zhEfS60H4kXc)

Follow this guide please: [Updating server](/server/updating-server.md)

Do you see something like this in the console?

![](/files/g5FD70o5jybB4XqlQBA8)

![](/files/ZaJA0yF5K8DnBhsQpR57)

Follow this guide please: [onesync](/server/onesync.md)


---

# 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://documentation.rcore.cz/paid-resources/xradio.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.
