Installing Inventory Items

How to install casino inventory items

The inventory icons are located in the casino zip folder, inside extra\inventory icons\

qb-inventory

Insert the inventory icons in: qb-inventory\html\images

Insert the inventory items in: qb-core\shared\items.lua

["casino_beer"] = {
        ["name"] = "casino_beer",
        ["label"] = "Casino Beer",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_beer.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Beer"
    },
    ["casino_burger"] = {
        ["name"] = "casino_burger",
        ["label"] = "Casino Burger",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_burger.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Burger"
    },
    ["casino_chips"] = {
        ["name"] = "casino_chips",
        ["label"] = "Casino Chips",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_chips.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Chips"
    },
    ["casino_coffee"] = {
        ["name"] = "casino_coffee",
        ["label"] = "Casino Coffee",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_coffee.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Coffee"
    },
    ["casino_coke"] = {
        ["name"] = "casino_coke",
        ["label"] = "Casino Kofola",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_coke.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Kofola"
    },
    ["casino_donut"] = {
        ["name"] = "casino_donut",
        ["label"] = "Casino Donut",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_donut.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Donut"
    },
    ["casino_ego_chaser"] = {
        ["name"] = "casino_ego_chaser",
        ["label"] = "Casino Ego Chaser",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_ego_chaser.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Ego Chaser"
    },
    ["casino_luckypotion"] = {
        ["name"] = "casino_luckypotion",
        ["label"] = "Casino Lucky Potion",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_luckypotion.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Lucky Potion"
    },
    ["casino_psqs"] = {
        ["name"] = "casino_psqs",
        ["label"] = "Casino Ps & Qs",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_psqs.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Ps & Qs"
    },
    ["casino_sandwitch"] = {
        ["name"] = "casino_sandwitch",
        ["label"] = "Casino Sandwitch",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_sandwitch.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Sandwitch"
    },
    ["casino_sprite"] = {
        ["name"] = "casino_sprite",
        ["label"] = "Casino Sprite",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_sprite.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Sprite"
    },

ox_inventory

Insert the inventory icons in: ox_inventory\web\images

Insert the inventory items in: ox_inventory\data\items.lua

['casino_beer'] = {
    label = 'Casino Beer',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_burger'] = {
    label = 'casino burger',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_chips'] = {
    label = 'casino chips',
    weight = 0,
    close = true,
    consume = 0,
    stack = true,
},

['casino_coffee'] = {
    label = 'casino coffee',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_coke'] = {
    label = 'casino coke',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_donut'] = {
    label = 'casino donut',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_ego_chaser'] = {
    label = 'casino ego chaser',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_luckypotion'] = {
    label = 'casino luckypotion',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_psqs'] = {
    label = 'Casino Ps & Qs',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_sandwitch'] = {
    label = 'casino sandwitch',
    weight = 0,
    close = true,
    consume = 0,
},

['casino_sprite'] = {
    label = 'casino sprite',
    weight = 0,
    close = true,
    consume = 0,
},

qs-inventory

Insert the inventory items in: qb-core\shared\items.lua(QB), qs-inventory\shared\items.lua(ESX)

["casino_beer"] = {
        ["name"] = "casino_beer",
        ["label"] = "Casino Beer",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_beer.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Beer"
    },
    ["casino_burger"] = {
        ["name"] = "casino_burger",
        ["label"] = "Casino Burger",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_burger.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Burger"
    },
    ["casino_chips"] = {
        ["name"] = "casino_chips",
        ["label"] = "Casino Chips",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_chips.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Chips"
    },
    ["casino_coffee"] = {
        ["name"] = "casino_coffee",
        ["label"] = "Casino Coffee",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_coffee.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Coffee"
    },
    ["casino_coke"] = {
        ["name"] = "casino_coke",
        ["label"] = "Casino Kofola",
        ["weight"] = 0,
        ["type"] = "item",
        ['image'] = 'casino_coke.png',
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Kofola"
    },
    ["casino_donut"] = {
        ["name"] = "casino_donut",
        ["label"] = "Casino Donut",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_donut.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Donut"
    },
    ["casino_ego_chaser"] = {
        ["name"] = "casino_ego_chaser",
        ["label"] = "Casino Ego Chaser",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_ego_chaser.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Ego Chaser"
    },
    ["casino_luckypotion"] = {
        ["name"] = "casino_luckypotion",
        ["label"] = "Casino Lucky Potion",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_luckypotion.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Lucky Potion"
    },
    ["casino_psqs"] = {
        ["name"] = "casino_psqs",
        ["label"] = "Casino Ps & Qs",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_psqs.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Ps & Qs"
    },
    ["casino_sandwitch"] = {
        ["name"] = "casino_sandwitch",
        ["label"] = "Casino Sandwitch",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_sandwitch.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Sandwitch"
    },
    ["casino_sprite"] = {
        ["name"] = "casino_sprite",
        ["label"] = "Casino Sprite",
        ["weight"] = 0,
        ["type"] = "item",
        ["image"] = "casino_sprite.png",
        ["unique"] = false,
        ["useable"] = false,
        ["shouldClose"] = false,
        ["combinable"] = nil,
        ["description"] = "Casino Sprite"
    },

esx

Insert the items in your database

INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_beer', 'Casino Beer', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_burger', 'Casino Burger', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_chips', 'Casino Chips', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_coffee', 'Casino Coffee', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_coke', 'Casino Kofola', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_donut', 'Casino Donut', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_ego_chaser', 'Casino Ego Chaser', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_luckypotion', 'Casino Lucky Potion', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_psqs', 'Casino Ps & Qs', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_sandwitch', 'Casino Sandwitch', '-1');
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('casino_sprite', 'Casino Sprite', '-1');

Last updated