Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cm-backpacks 2.1.0

(0 reviews)

2 Screenshots

I have not seen very many free backpack scripts so i made one

Works with qbcore and qbox

The main image for this post can be downloaded and used for the script

Supported inventories

qb-inventory

ox_inventory

ps-inventory

qs-inventory

docs are on my github

GitHub
No image preview

GitHub - Copeman-1/cm-backpacks: backpacks

backpacks. Contribute to Copeman-1/cm-backpacks development by creating an account on GitHub.

What's New in Version 2.0.0

Released

New

ox_inventory client.export support

Backpack items now use the client.export pattern instead of registerHook, matching how ox_inventory expects usable items to be wired. Add client = { export = 'cm-backpacks.UseBackpack' } to each backpack entry in your ox_inventory items.lua.

Split item weight and stash capacity

Config now uses itemWeight (how heavy the bag is in the player's inventory) and maxWeight (stash capacity) separately. Previously both used weight, causing the item to weigh the same as its capacity.

Fixed

Backpack stash not opening on ox_inventory

Replaced non-existent forceOpenInventory server export with the correct client-side openInventory('stash', id) call via client event.

Items vanishing on close and reopen

Slot metadata is now fetched fresh from ox_inventory via GetSlot on each use rather than relying on the stale item table, preventing a new stash ID being generated every open.

Notes

qb-inventory, qs-inventory, and ps-inventory are unaffected — all changes are isolated to the ox_inventory bridge. Update your config.lua to rename weight to itemWeight and maxWeight.

For ox_inventory you need to add the item like so: ['backpack1'] = { label = 'Small Backpack', weight = 10, stack = false, consume = 0, client = { export = 'cm-backpacks.UseBackpack' } },

With version 2.0.0:

Short Description

its a backpack script, what else do you want?

User Feedback

Recommended Comments

There are no comments to display.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.