๐Ÿ‘œAdd Item

Add this item to your inventory Script

QB Based Inventory

If you are using qb based inventory then Navigate to qb-core/shared/items.lua and add this:

['vehiclekey'] = {
    ['name'] = 'vehiclekey',
    ['label'] = 'Vehicle key',
    ['weight'] = 0,
    ['type'] = 'item',
    ['image'] = 'vehiclekeys.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = "This is a car key, take good care of it, if you lose it you probably won't be able to use your car"
},

['keybag'] = {
    ['name'] = 'keybag',
    ['label'] = 'Vehicle Keys Bag',
    ['weight'] = 0,
    ['type'] = 'item',
    ['image'] = 'keybag.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,   
    ['combinable'] = nil,
    ['description'] = "This is a key bag, you can store all your keys in it"
},

OX Inventory

If you are using ox inventory then Navigate to ox_inventory/data/items.lua and add this:

["vehiclekey"] = {
	label = "Vehicle Keys",
	description = 'This is a car key, take good care of it, if you lose it you probably won\'t be able to use your car',
	weight = 10,
	stack = false
},

["keybag"] = {
	label = "Key Bag",
	description = 'This is a key bag, you can store all your keys in it',
	weight = 10,
	stack = false
},

Last updated