# Tablet as item

{% tabs %}
{% tab title="ox\_inventory" %}
File Location: ox\_inventory/data/items.lua

Image Should Be placed in: ox\_inventory/web/images

```lua
["courier_tablet"] = {
    label = "Courier Tablet",
    weight = 1000,
    client = {
      event = "op-courier:openCourierTablet",
    }
},
```

{% endtab %}

{% tab title="qb-inventory" %}
File Location: qb-core/shared/items.lua

Image Should Be placed in: qb-inventory/html/images

```lua
courier_tablet = {
    name = "courier_tablet",
    label = "Courier Tablet",
    weight = 1000,
    type = 'item', 
    image = 'courier_tablet.png', -- Optional, if you want an image for it
    useable = true, 
    shouldClose = true, 
    client = {
      event = "op-courier:openCourierTablet",
    }
 },
```

{% endtab %}

{% tab title="Basic ESX" %}

## This is MySql insert.

```sql
INSERT INTO `items`(`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ("courier_tablet", "Courier Tablet", 1, 0, 1)
```

{% endtab %}

{% tab title="quasar\_inventory" %}

```lua
['courier_tablet'] = {
    name = 'courier_tablet',
    label = 'Courier Tablet',
    weight = 5,
    type = 'item',
    image = 'courier_tablet.png', -- Optional, if you want an image for it,
    unique = false,
    useable = true,
    description = 'A tablet for courier job related tasks.',
    client = {
        export = 'op-courier.openCourierTablet'
    },
}
```

{% endtab %}
{% endtabs %}

## Optional Image:

<figure><img src="https://36113860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1vEl4u37HzsUUsBP0oWM%2Fuploads%2FQjwRpeHf8ZAkQXtXqELW%2Fcourier_tablet.png?alt=media&#x26;token=e443378b-32e2-43b4-9ce0-ee7ae08e3b5e" alt=""><figcaption></figcaption></figure>
