Inventory Items
Last updated
Was this helpful?
Last updated
Was this helpful?
Requires properly setup config for inventory from !
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.
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
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.
Open ox_inventory/data/items.lua
file.
Add these items:
Copy images from rcore_xmas/assets/inventory_images/
to ox_inventory/web/images/
.
Restart your server. Server need to be restarted for proper registration of usable items!
Open qb-core/shared/items.lua
/ qs-inventory/shared/items.lua
file.
Add these items:
Find weapon_snowball
and set unique
to false
!
Copy images from rcore_xmas/assets/inventory_images/
to qb-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!
Use asset deployer command, that insert SQL items to database - xmasdeploy mf-inventory items
.
Use asset deployer command, that insert SQL items to database - xmasdeploy es_extended items
.
Example: