---
description: Add this item to your inventory Script
---

# Add Item

## QB Based Inventory

If you are using qb based inventory then\
Navigate to <mark style="color:purple;">qb-core/shared/items.lua</mark> and add this:

```lua
['vehiclekey'] = {
    ['name'] = 'vehiclekey',
    ['label'] = 'Vehicle key',
    ['weight'] = 0,
    ['type'] = 'item',
    ['image'] = 'vehiclekeys.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = "This is a car key, take good care of it, if you lose it you probably won't be able to use your car"
},

['keybag'] = {
    ['name'] = 'keybag',
    ['label'] = 'Vehicle Keys Bag',
    ['weight'] = 0,
    ['type'] = 'item',
    ['image'] = 'keybag.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,   
    ['combinable'] = nil,
    ['description'] = "This is a key bag, you can store all your keys in it"
},
```

## OX Inventory

If you are using ox inventory then\
Navigate to <mark style="color:purple;">ox\_inventory/data/items.lua</mark> and add this:

```lua
["vehiclekey"] = {
	label = "Vehicle Keys",
	description = 'This is a car key, take good care of it, if you lose it you probably won\'t be able to use your car',
	weight = 10,
	stack = false
},

["keybag"] = {
	label = "Key Bag",
	description = 'This is a key bag, you can store all your keys in it',
	weight = 10,
	stack = false
},
```
