# ‌📻 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?

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-7748cfd62b3cb5f8400d712a3d42fbf2102f43c6%2Fimage%20\(1\)%20\(1\)%20\(1\)%20\(1\).png?alt=media\&token=a1eaee5f-995a-4c6c-a53b-46ae306a1f0e)

Please read this guide: [you-lack-the-entitlement](https://documentation.rcore.cz/cfx-auth-system/you-lack-the-entitlement "mention")

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

Do you see something like this in the console?

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-0a9450e2dbe119d960c6891bfdab7e1dbcf5a313%2Fimage%20\(3\)%20\(1\)%20\(1\).png?alt=media\&token=4d613c71-06db-4256-a083-9a207662cba2)

Please read this guide: [error-syntax-error-near-less-than-1-greater-than](https://documentation.rcore.cz/cfx-auth-system/error-syntax-error-near-less-than-1-greater-than "mention")

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

Do you see something like this in the console?

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-c59fb860e63ef092c0fe9c5ee301c429c67ab5c0%2Fimage.png?alt=media\&token=57bb9502-fafc-4083-a240-abaa333accf1)

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-a06c4315910abe92832ca947e4f011d763675f2b%2Fimage.png?alt=media)

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-77b8852bd2303aa7ea3aace9e8e060eeac41d689%2Fimage%20\(2\)%20\(1\)%20\(1\).png?alt=media\&token=3e4566fa-e9dd-4dba-8d73-0cc2a7ac7af0)

Follow this guide please: [updating-server](https://documentation.rcore.cz/server/updating-server "mention")

Do you see something like this in the console?

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-78136be946d0ad35c3803154793c4b3cefb62444%2Fimage%20\(5\).png?alt=media\&token=3d7fe03c-a4c4-4b46-8873-18d03b056f2b)

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-9fc6132e5d194f2d493ab23e3212d879e609b6f7%2Fimage%20\(4\)%20\(1\)%20\(1\).png?alt=media\&token=577bd548-a8fb-4d70-98e6-e8e0733c9d17)

Follow this guide please: [onesync](https://documentation.rcore.cz/server/onesync "mention")
