Installation Guide OX Inventory
1
Install resource from Portal
After installing, you should get a zip file with the name shown below.
cdev_tarot.pack.zip
2
3
4
5
Setup Item and Images inside Ox Inventory
Step One
Add images to ox_inventory/web/images Images are available in the cdev_tarot > images folder of this resource.
Step Two
Add item to ox_inventory/data/items.lua like listed bellow.
["tarotminordeck"] = {
label = "Tarot Minor Deck",
weight = 100,
consume = 1,
stack = true,
close = true,
client = {
image = "tarotminordeck.png",
export = "cdev_tarot.createDeckOXItem",
type = 'minor'
}
},
["tarotmajordeck"] = {
label = "Tarot Major Deck",
weight = 100,
consume = 1,
stack = true,
close = true,
client = {
image = "tarotmajordeck.png",
export = "cdev_tarot.createDeckOXItem",
type = 'major'
}
},
["tarotmixeddeck"] = {
label = "Tarot Mixed Deck",
weight = 100,
consume = 1,
stack = true,
close = true,
client = {
image = "tarotmixeddeck.png",
export = "cdev_tarot.createDeckOXItem",
type = 'mixed'
}
},6
7
Last updated

