Installation

Inventory Item

Ox Inventory

The following goes in ox_inventory > data > items.lua

	-- Kevin Pawnshop Items
["pawnshop_box"] = {
	label = "Pawnshop Box",
	weight = 2000,
	stack = false,
	close = true,
	description = "A box of pawn shop items",
	client = {
		image = "box.png",
	}
},

QB Inventory

The following goes in [qb] > qb-core > shared > items.lua

pawnshop_box                     = { name = 'pawnshop_box', label = 'Pawnshop Box', weight = 3500, type = 'item', image = 'box.png', unique = true, useable = true, shouldClose = true, description = 'A box of pawn shop items' },

Player Metadata

QBCore

The following goes in [qb] > qb-core > config.lua (within the metadata area around line 62)

pawnshop = 0,

So it should look like the following now

QBox

The following goes in [qbx] > qbx_core > server > player.lua (Around lines 462 area)

playerData.metadata.pawnshop = playerData.metadata.pawnshop or 0

So it should look like the following now

Last updated