items
For ox_inventory, you need to add the following configuration in your ox_inventory/data/items.lua file.
["laptop"] = {
label = "Laptop",
weight = 10,
stack = false,
close = true,
description = "Laptop.",
client = {
export = "kartik-laptop.openLaptopUI",
}
},For qb-inventory, add the following configurations in your qb-core/shared/items.lua file.
laptop = {
name = 'laptop',
label = 'Laptop',
weight = 4000,
type = 'item',
image = 'laptop.png',
unique = true,
useable = true,
shouldClose = true,
description = 'Expensive laptop'
},Last updated