Page cover image

Installation Guide

Dependencies

DependencyDescription

qb-core / qbx_core or es_extended

Framework

qb-target / qtarget / ox_target

sd_lib

Important Library

ox_lib

Important Library

Installation Steps

1. Add Items

  1. Open items.lua: Navigate to ox_inventory/data/items.lua.

  2. Add the Following Items: Insert the following code into the items.lua file:

    ["bands"] = {
        label = "Band Of Notes",
        weight = 100,
        stack = true,
        close = false,
        description = "A band of small notes..",
        consume = 0,
        client = {
            image = "bands.png",
        }
    },
    
    ["rolls"] = {
        label = "Roll Of Small Notes",
        weight = 100,
        stack = true,
        close = false,
        description = "A roll of small notes..",
        consume = 0,
        client = {
            image = "rolls.png",
        }
    },
    
    ["package"] = {
        label = "Suspicious Package",
        weight = 10000,
        stack = false,
        close = false,
        description = "A mysterious package.. Scary!",
        consume = 0,
        client = {
            image = "package.png",
        }
    },

Most inventories and frameworks (e.g. ox_inventory & qb-core) come with oxy as a pre-established item, if at any point you removed it here it is again.

["oxy"] = {
    label = "Prescription Oxy",
    weight = 0,
    stack = true,
    close = true,
    description = "The Label Has Been Ripped Off",
    consume = 0,
    client = {
        image = "oxy.png",
    },
},

2. Copy Images

Copy the corresponding item images to the images folder of your inventory

3. Run the SQL

Simply run the SQL file named 'run_me.sql' in the [SQL] directory.

Last updated