Skip to content

Testaross/obackpack

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 4 commits ahead, 2 commits behind wasabirobby:main.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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 resources directory
  • ensure wasabi_backpack after ox_lib but before ox_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

Support

Discord Banner 2

About

This resource was created as a free ESX script for backpacks using ox_inventory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%