๐Ÿ‘œitems

๐ŸŽ’ Items Setup

This page covers how to add the required bag items to your inventory system.


Item Configuration (config.lua)

The script uses two bag items by default:

Config Key
Item Name
Description

BagItem

outfit_bag

Standard outfit bag

PrivateBagItem

outfit_bag_private

Private (locked) outfit bag

Both items have a weight of 1.


ox_inventory

Create or edit the file items.lua in your ox_inventory/data/ folder and add:

['outfit_bag'] = {
    label = 'Outfit Bag',
    weight = 1,
    stack = true,
    close = true,
    description = 'A bag to store and place outfits'
},

['outfit_bag_private'] = {
    label = 'Private Outfit Bag',
    weight = 1,
    stack = true,
    close = true,
    description = 'A private bag to store and place outfits'
},

qb-inventory / qs-inventory / ps-inventory

Add the following to your items.lua or shared items file:


ESX (weight)

Add the items to your items database table:


ESX (limit)

If your server uses the limit inventory system instead of weight:

Note: Adjust the limit value to your preference. This defines the maximum stack size per inventory slot.


Images

Place your item images in the appropriate folder of your inventory resource:

Inventory
Image Path

ox_inventory

ox_inventory/web/images/

qb-inventory

qb-inventory/html/images/

qs-inventory

qs-inventory/html/images/

ps-inventory

ps-inventory/html/images/

Required files:

  • outfit_bag.png

  • outfit_bag_private.png

file-image
28KB
file-image
28KB

Last updated