Ox Inventory Item

Add items to ox inventory items.lua (ox_inventory\data\items.lua)

['cardpacket'] = {
	label = 'Card packet',
	weight = 100,
	stack = true,
	close = true,
	consume = 0,
	client = {
		usetime = 0,
	},
	server = {
		export = 'tgiann-card.cardpacket',
	},
},
['cardplayer'] = {
	label = 'cardplayer',
	weight = 100,
	stack = false,
	close = true,
	consume = 0,
	client = {
		usetime = 0,
	},
	server = {
		export = 'tgiann-card.cardplayer',
	},
},
['cardbook'] = {
	label = 'cardbook',
	weight = 100,
	stack = false,
	close = true,
	consume = 0,
	client = {
		usetime = 0,
	},
	server = {
		export = 'tgiann-card.cardbook',
	},
},

Last updated