Open items.lua
: Navigate to ox_inventory/data/items.lua
.
Add the Following Items: Insert the following code into the items.lua
file:
["sealed_cache"] = {
label = "Sealed Cache",
weight = 15000,
stack = false,
close = false,
description = "A heavy and resilient lockbox",
consume = 0,
client = {
image = "sealed_cache.png",
}
server = {
export = 'sd-cokemission.useSealed_cache',
}
},
["cache_key"] = {
label = "Cache Key",
weight = 500,
stack = false,
close = true,
description = "Key used for lock boxes.",
consume = 0,
client = {
image = "cache_key.png",
}
},
Open items.lua
: Navigate to qb-core/shared/items.lua
.
Add the Following Items: Insert the following code into the items.lua
file:
["sealed_cache"] = {["name"] = "sealed_cache", ["label"] = "Sealed Cache", ["weight"] = 15000, ["type"] = "item", ["image"] = "sealed_cache.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A heavy and resilient lockbox"},
['cache_key'] = {['name'] = 'cache_key', ['label'] = 'Cache Key', ['weight'] = 500, ['type'] = 'item', ['image'] = 'cache_key.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Key used for lock boxes..'}, your pal needs that pick me up"},
Import the items.sql
file into your database in the [SQL]/ESX directory.