Page cover

πŸ’»Installation

Dependencies :

ES_EXTENDED

You will need the latest version of es_extended.

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.


Inventories :

QB-INVENTORY

Add the items below to the qb-core/shared/items.lua:

    --shops
    shop_stand         = { name = 'shop_stand', label = 'Shop Stand', weight = 5000, type = 'item', image = 'shop_stand.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Shop Stand.' },
OX_INVENTORY

Add the items below into your ox-inventory/data/items.lua

	["shop_stand"] = {
		label = "Shop Stand",
		weight = 5000,
		stack = true,
		close = true,
		description = "Shop Stand.",
		client = {
			image = "shop_stand.png",
		}
	},

Add this into ox_inventory/modules/items/client.lua

-- shops 

Item('shop_stand', function(data, slot)
	ox_inventory:useItem(data, function(data)
		if data then
			TriggerEvent('zat-shops:client:PreviewProp', "shop_stand", 'prop_shop_stand')
		end
	end)
end)
QS-INVENTORY

Add the items below into your qs-inventory/shared/items.lua

['shop_stand'] = {
    ['name'] = 'shop_stand',
    ['label'] = 'Shop Stand',
    ['weight'] = 5000,
    ['type'] = 'item',
    ['image'] = 'shop_stand.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Shop Stand.'
},

Add this into qs-inventory/server/custom/misc/CreateUseableItem.lua

-- shop
CreateUsableItem('shop_stand', function(source, item)
    local src = source
    TriggerClientEvent(src, 'zat-shops:client:PreviewProp', "shop_stand", 'prop_shop_stand')
end)


ADDITIONAL SETUP

IMAGES
  • Copy the contents of the [images] folder into your inventory's image directory.

SQL
  • Import the SQLs from the [sql] folder into your database

ENSURE RESOURCES

Last updated