> For the complete documentation index, see [llms.txt](https://docs.0resmon.org/0resmon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-radio-v3/items.md).

# Items

## Items

0r-radio expects two items: the radio itself and (if enabled) the jammer. Both names come from `config.lua`:

```lua
item = 'advancedradio',

jammer = {
    item = 'jammer',
    ...
}
```

You can rename them to whatever fits your server — just make sure the inventory entries below match.

### Adding the items in `ox_inventory/data/items.lua`:

```lua
['advancedradio'] = {
    label = 'Radio',
    weight = 200,
    stack = false,
    close = true,
    description = 'A handheld radio.',
    client = {
        event = '0r-radio:client:useRadio'
    }
},

['jammer'] = {
    label = 'Signal Jammer',
    weight = 1500,
    stack = false,
    close = true,
    description = 'Blocks nearby radio signals.'
},
```

The `client.export` line lets ox call the radio directly when the item is used. The jammer doesn't need an export — 0r-radio already registers it as a usable item server-side.

In `qb-core/shared/items.lua`:

```lua
advancedradio = {
    name = 'advancedradio',
    label = 'Radio',
    weight = 200,
    type = 'item',
    image = 'radio.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'A handheld radio.'
},

jammer = {
    name = 'jammer',
    label = 'Signal Jammer',
    weight = 1500,
    type = 'item',
    image = 'jammer.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'Blocks nearby radio signals.'
},
```

#### ESX SQL Items

```sql
INSERT INTO items (name, label, weight) VALUES
    ('advancedradio', 'Radio', 1),
    ('jammer', 'Signal Jammer', 5);
```

0r-radio registers both as usable items automatically.

### Item images

If you want icons in your inventory, drop a `advancedradio.png` and `jammer.png` into your inventory's image folder (for example `ox_inventory/web/images/`). The script doesn't ship images — pick whatever suits your server's style.


---

# 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.0resmon.org/0resmon/0resmon-1/0r-resources/0r-radio-v3/items.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.
