Expanded Inventory Capacity: Players can carry more materials and items within their inventory, allowing for greater flexibility and resource management.
Props: The script provides realistic visuals by displaying bag props on the player’s back or hands, indicating that they are equipped with a bag.
Blacklisted Items: A flexible option allows you to specify blacklisted items, ensuring that certain items cannot be stored in the bag. This feature helps maintain balance and prevents abuse.
Smooth Animation: Opening and closing animations provide an immersive and visually appealing experience when accessing the backpack. These animations enhance realism and immersion within the game.
Locking System: Bags can be equipped with a locking system, offering an additional layer of security for valuable items.
Prevents Exploits: The script actively prevents the “bag in bag” exploit, ensuring fair gameplay and maintaining the integrity of the inventory system.
Changes:
ESX and OX support is now available. Enjoy!
Significant changes to the config’s structure
Fixed the whitelist and blacklist
Automatically hide props on the right hand when holding a weapon
The reason it isn’t the same on ESX is the unique metadata stored in the backpack item, from what I know someone has made one for ESX, maybe Linden or the mentioned Ox-Inventory (probably same script) but you’ll need this in order to open the backpack and use it as a stash
A backpack should be either a clothing item or a prop.
To use the prop option you can do something like this (check if that model is available in your version of the game)
['backpack1'] = {
slots = 5,
size = 100000,
weight = 10000,
weight_multiplier = 0.8, -- less value means items has less weight in backpack
prop = prop = props.backpack
},