obackpack
This resource was created as a free script for backpacks using ox_inventory This version uses hooks to stop bags from being put inside of bags Features:
- 0.0 ms Usage
- Perisistent backpack prop added to back when in inventory
- Customizable item name and storage parameters
- Compatibility for ox_core, ESX, QBCore, whatever else running ox_inventory
Installation
- Download this script
- Add backpack to inventory as it is in "Extra Information" below
- Add backpack image to inventory images (found in
wasabi_backpack/_inventory_images/backpack.png) - Put script in your
resourcesdirectory - ensure
wasabi_backpackafterox_libbut beforeox_inventory
Dependencies
- ox_inventory
Extra Information
Item to add to ox_inventory/data/items.lua
['backpack'] = {
label = 'Backpack',
weight = 220,
stack = false,
consume = 0,
client = {
export = 'wasabi_backpack.openBackpack'
}
},
Preview
https://www.youtube.com/watch?v=OsjuUtE9Pg8
