Introducing my first release
Features
- Multiple backpack types with configurable sizes and models
- Guncase with code lock and weapons-only restriction
- Prevents backpacks inside backpacks (nesting)
- Props appear on player (largest backpack equipped)
- Props sync with player visibility (invisible = hidden prop)
- Place and pick up backpacks/guncases on the ground
- Default items for EMS and police bags
- Full server/client-side validation and anti-exploit
Buy here Tebex
Installation
- Download from your cfx granted assets and put it into your
resourcesfolder. - Ensure you have the following dependencies:
- qb-core
- qb-inventory latest
- oxmysql
- ox_lib
- qb-target
- Add
ensure qb-backpacksto yourserver.cfgafter all dependencies.
NB!!! Only tested on new qb-inventory.
Configuration
- Edit
shared/config.luato: - Add or modify backpack types, sizes, and models
- Set default items for EMS/police bags
- Adjust guncase restrictions
- Backpack models and bone/position/rotation are set in
Config.BagProps.
Usage
- Backpacks and guncases are usable items (add to your items database if needed).
- Use a backpack/guncase from inventory to place it on the ground.
- Interact with the prop using
qb-targetto open, pick up, or (for guncase) enter/set code. - Only the largest backpack in your inventory will show as a prop on your back.
- Backpack will show with Guncase if both are in inventory.
- You cannot put backpacks inside other backpacks, or pick up a backpack with another backpack inside.
- Props will hide if the player is invisible.
- Please note EMS and Police bags require you to place on ground first, they need to be opened twice the first time before items are added (Will update when I get this sorted).
Config file
config.lua (2.5 KB)
| Code is accessible | No (config open) |
| Subscription-based | No |
| Lines (approximately) | 1200 |
| Requirements | Listed Above |
| Support | Yes |



