🛠ī¸Installation

qb-core/shared/items.lua

['grilledmeat'] 		= {['name'] = 'grilledmeat', 		['label'] = 'Grilled Meat', 		['weight'] = 200, 		['type'] = 'item', 		['image'] = 'grilledmeat.png', 		['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['grilledfish'] 		= {['name'] = 'grilledfish', 		['label'] = 'Grilled Fish', 		['weight'] = 200, 		['type'] = 'item', 		['image'] = 'grilledfish.png', 		['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['grilledcutlets'] 		= {['name'] = 'grilledcutlets', 	['label'] = 'Grilled Cutlets', 		['weight'] = 200, 		['type'] = 'item', 		['image'] = 'grilledcutlets.png', 	['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['grilledskewers'] 		= {['name'] = 'grilledskewers', 	['label'] = 'Grilled Skewers', 		['weight'] = 200, 		['type'] = 'item', 		['image'] = 'grilledskewers.png', 	['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['yoga1'] 			= {['name'] = 'yoga1', 			['label'] = 'Yoga', 				['weight'] = 200, 		['type'] = 'item', 		['image'] = 'yoga1.png', 			['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['yoga2'] 			= {['name'] = 'yoga2', 			['label'] = 'Yoga', 				['weight'] = 200, 		['type'] = 'item', 		['image'] = 'yoga2.png', 			['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['yoga3'] 			= {['name'] = 'yoga3', 			['label'] = 'Yoga', 				['weight'] = 200, 		['type'] = 'item', 		['image'] = 'yoga3.png', 			['unique'] = true, 		['useable'] = true,     ['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = ''},
['box'] 			= {['name'] = 'box', 			['label'] = 'Box', 					['weight'] = 300, 		['type'] = 'item', 		['image'] = 'box.png', 						   ['unique'] = true, 	   ['useable'] = true, 	   ['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
['fire'] 			= {['name'] = 'fire', 			['label'] = 'Campfire', 			['weight'] = 300, 		['type'] = 'item', 		['image'] = 'fire.png', 			['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
['tent'] 			= {['name'] = 'tent', 			['label'] = 'Tent', 				['weight'] = 300, 		['type'] = 'item', 		['image'] = 'tent.png', 			['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
['chair'] 			= {['name'] = 'chair', 			['label'] = 'Chair', 				['weight'] = 300, 		['type'] = 'item', 		['image'] = 'chair.png', 			['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
['table'] 			= {['name'] = 'table', 			['label'] = 'Table', 				['weight'] = 300, 		['type'] = 'item', 		['image'] = 'table.png', 			['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},

qb-core/server/player.lua

PlayerData.metadata['smell'] = PlayerData.metadata['smell'] or 0
PlayerData.metadata['cookinglevel'] = PlayerData.metadata['cookinglevel'] or 0

Last updated