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

# Inventory Setup

Add the phone items, or run the phone without them.

XVI Phone comes with five phones: Silver, Black, Red, Pink and Blue. Each one is its own item, so you can sell them in shops or hand them out to new players.

{% tabs %}
{% tab title="ox\_inventory" %}
**1.** Add this to `ox_inventory/data/items.lua`:

```lua
['ata_phone_silver'] = {
    label = 'Phone (Silver)',
    weight = 190,
    stack = false,
    consume = 0,
    client = { export = 'ata_phone.usePhoneItem' },
},
['ata_phone_black'] = {
    label = 'Phone (Black Case)',
    weight = 190,
    stack = false,
    consume = 0,
    client = { export = 'ata_phone.usePhoneItem' },
},
['ata_phone_red'] = {
    label = 'Phone (Red Case)',
    weight = 190,
    stack = false,
    consume = 0,
    client = { export = 'ata_phone.usePhoneItem' },
},
['ata_phone_pink'] = {
    label = 'Phone (Pink Case)',
    weight = 190,
    stack = false,
    consume = 0,
    client = { export = 'ata_phone.usePhoneItem' },
},
['ata_phone_blue'] = {
    label = 'Phone (Blue Case)',
    weight = 190,
    stack = false,
    consume = 0,
    client = { export = 'ata_phone.usePhoneItem' },
},
```

**2.** Copy the PNG files from `ata_phone/items` to `ox_inventory/web/images`.

**3.** Keep this in `config.lua`:

```lua
Config.NeedItem = true
```

**4.** Restart your server. Players can now use a phone from their inventory or press **F1**. Using a phone also picks that color.
{% endtab %}

{% tab title="Other inventories" %}
Using **qb-inventory**, **qs-inventory**, **codem-inventory**, **ESX default** or something else? Run the phone without an item:

```lua
Config.NeedItem = false
Config.Prop = 'prop_ata_phone_max01_silver'
```

Every player can now open the phone with **F1**, and `Config.Prop` sets the model everyone uses.

| Color  | Model                         |
| ------ | ----------------------------- |
| Silver | `prop_ata_phone_max01_silver` |
| Black  | `prop_ata_phone_max01_black`  |
| Red    | `prop_ata_phone_max01_red`    |
| Pink   | `prop_ata_phone_max01_pink`   |
| Blue   | `prop_ata_phone_max01_blue`   |

{% hint style="info" %}
Phone items and color picking currently need ox\_inventory.
{% endhint %}
{% endtab %}
{% endtabs %}
