Page cover

πŸ’»Installation

Dependencies :

QBCore

You will need the latest version of qb-core

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

INTERACT OR TARGET

You will need the latest version of Interact or qb-target

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

XSOUND

You will need the latest version of xsound

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.


Inventories :

QB INVENTORY

Add the items below to the qb-core/shared/items.lua:

    --- shoes
    shoebox               = { name = 'shoebox',                         label = 'Shoe Box',                       weight = 100,       type = 'item',      image = 'shoebox.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Show Box' },    
    rfid_scanner          = { name = 'rfid_scanner',                    label = 'RFID Scanner',                   weight = 100,       type = 'item',      image = 'rfid_scanner.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'RFID Scanner' }, 

Add this into your qb-inventory js file:

        case "shoebox":
            if (itemData.info.shoes == 0){
                return `<p><strong>Model: </strong><span>${itemData.info.model}</span></p>
                <p><strong>Color: </strong><span>${itemData.info.color}</span></p>
                <p><strong>Reference: </strong><span>${itemData.info.ref}</span></p>
                <p><strong>Shoes Inside: </strong><span>Empty</span></p>`;
            }else{
                return `<p><strong>Model: </strong><span>${itemData.info.model}</span></p>
                <p><strong>Color: </strong><span>${itemData.info.color}</span></p>
                <p><strong>Reference: </strong><span>${itemData.info.ref}</span></p>
                <p><strong>Shoes Inside: </strong><span>${itemData.info.model}</span></p>`;
            }
QS INVENTORY

Add the items below into your qs-inventory/shared/items.lua

Add this into qs-inventory/server/custom/misc/CreateUseableItem.lua

Add this into qs-inventory/config/metadata.js

OX INVENTORY

Add the items below into your ox-inventory/data/items.lua

Add this into ox_inventory/modules/items/client.lua


Dialog :

ZAT DIALOG

Add the code below to zat-dialog/shared/config.lua

Doorlock:

QB DOORLOCK

copy shoesheist.lua doorlock file and paste it in qb-doorlock/configs

OX DOORLOCK

Just import the ox_doorlock.sql into your Database.

ENSURE RESOURCES

Last updated