Inventory Items
Requires properly setup config for inventory from Installation!
There are two ways of setuping inventory items. You can use integrated Asset Deployer that edit proper server files automatically after executing command or you can do all necessary edits Manually.
Asset Deployer
Available deploys:
Resource: ox_inventory
items
items-images
Resource: qs-inventory
items
items-images
Resource: qb-inventory
items
items-images
exports
Resource: mf-inventory
items
Resource: es_extended (esx)
items
Running deploy
Execute command xmasdeploy <deploy-resource> [name]
in server console, where deploy-resource
is needed and represents resource from Available Deploys and name
is optional (if it's not filled, all deploys for resource will be deployed) and represents specific deploy for resource.
Manually
ox_inventory
Open
ox_inventory/data/items.lua
file.Add these items:
Copy images from
rcore_xmas/assets/inventory_images/
toox_inventory/web/images/
.Restart your server. Server need to be restarted for proper registration of usable items!
qb-inventory / qs-inventory
Open
qb-core/shared/items.lua
/qs-inventory/shared/items.lua
file.Add these items:
Find
weapon_snowball
and setunique
tofalse
!Copy images from
rcore_xmas/assets/inventory_images/
toqb-inventory/html/images/
/qs-inventory/html/images/
.qb-inventory: Put these 3 lines at the bottom of
qb-inventory/server/main.lua
or use asset deployer mentioned above:
Restart your server. Server need to be restarted for proper registration of usable items!
mf-inventory
Use asset deployer command, that insert SQL items to database -
xmasdeploy mf-inventory items
.
es_extended (default esx inventory)
Use asset deployer command, that insert SQL items to database -
xmasdeploy es_extended items
.
Last updated