> For the complete documentation index, see [llms.txt](https://tefox-scripts.gitbook.io/tefox-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tefox-scripts.gitbook.io/tefox-scripts-docs/tefox-scripts-documentation/tefox_radio/installation.md). Agents can also search and read this documentation through its [MCP server](https://tefox-scripts.gitbook.io/tefox-scripts-docs/~gitbook/mcp).

# Installation

### Follow these simple steps to install the script on your server:

## <mark style="color:red;">**Step 1**</mark>

Download the Script: Download the resource from your (Keymaster)\[<https://portal.cfx.re/assets>] account after purchasing

## <mark style="color:red;">**Step**</mark> <mark style="color:red;"></mark><mark style="color:red;">2</mark>

Server Configuration: Open your server.cfg file and add the following line. Important: Ensure it starts after pma-voice!

```lua
ensure pma-voice
ensure tefox_radio
```

## <mark style="color:red;">**Step 3**</mark>

Voice System Setup (PMA-Voice) Since Tefox Advanced Radio features its own built-in, highly advanced anti-glitch animation system, you must disable the default radio animation provided by pma-voice to prevent any overlapping or animation bugs.<br>

**Open your server.cfg file and search for the following line:**

```lua
setr voice_enableRadioAnim 1
```

**Change the value to 0 so it looks like this:**

```lua
setr voice_enableRadioAnim 0
```

{% hint style="info" %}

## <mark style="color:$warning;">**📌 Important Note:**</mark> If you cannot find this line in your <mark style="color:cyan;">server.cfg</mark>, simply add setr **voice\_enableRadioAnim 0** manually on a new line (preferably right under ensure pma-voice).

{% endhint %}

## <mark style="color:red;">**Step 4**</mark>

<mark style="color:cyan;">**Inventory Setup**</mark>

If you enabled the item requirement in the config (Config.UseItem = true), you need to add the radio item to your server's inventory system.

<mark style="color:$info;">**📦 For ox\_inventory Users:**</mark>**&#x20;Navigate to ox\_inventory/data/items.lua and paste the following code into your items list:**

```lua
['radio'] = {
    label = 'Radio',
    weight = 1000,
    allowArmed = true,
    consume = 0,
    client = {
        export = 'tefox_radio.useRadio'
    }
},
```

**📦&#x20;**<mark style="color:$info;">**For Other Inventories:**</mark>**&#x20;(e.g., qb-inventory, ps-inventory, lj-inventory): Navigate to your core items file (usually qb-core/shared/items.lua) and add the following code:**

```lua
['radio'] = {
    ['name'] = 'radio',
    ['label'] = 'Radio',
    ['weight'] = 1000,
    ['type'] = 'item',
    ['image'] = 'radio.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'A communication radio device'
},
```

## <mark style="color:red;">**Step 5**</mark>

**Restart:**

Restart your server or type refresh and ensure tefox\_radio in the console.
