Installation

Dependencies

QBCore Framework qb-target ps-dispatch - (https://github.com/Project-Sloth/ps-dispatch)


How to install

Drag the script in your folder Add the following item to yourinventory/data/items.lua QBCore users to qbcore/shared/items.lua Add the item image to your inventory/images

If you are using a different inventory then literally create the same items for your custom inventory.

-- Cocaine
coca_bag = { 
        name = 'coca_bag', 
        label = 'Coca Bag', 
        weight = 1000, 
        type = 'item', 
        image = 'bag.png', 
        unique = true, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },
    coca_pack = { 
        name = 'coca_pack', 
        label = 'Coca Pack', 
        weight = 500, 
        type = 'item', 
        image = 'imporage.png', 
        unique = false, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },
    coca_powder = { 
        name = 'coca_powder', 
        label = 'Coca Powder', 
        weight = 500, 
        type = 'item', 
        image = 'coke.png', 
        unique = false, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },
    coca_leaf = { 
        name = 'coca_leaf', 
        label = 'Coca Leaf', 
        weight = 50, 
        type = 'item', 
        image = 'coke_leaf.png', 
        unique = false, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },
    baking_soda = { 
        name = 'baking_soda', 
        label = 'Baking Soda', 
        weight = 100, 
        type = 'item', 
        image = 'bakingsoda.png', 
        unique = false, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },
    fake_creditcard = { 
        name = 'fake_creditcard', 
        label = 'Fake Card', 
        weight = 50, 
        type = 'item', 
        image = 'bank_card.png', 
        unique = false, 
        useable = false, 
        shouldClose = false, 
        description = 'It is very fragile, watch out' 
    },

Last updated