Page cover

πŸ’»Installation

Dependencies :

chevron-rightQBCorehashtag

You will need the latest version of qb-corearrow-up-right

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

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

chevron-rightINTERACT OR TARGEThashtag

You will need the latest version of Interactarrow-up-right or qb-targetarrow-up-right

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

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

chevron-rightXSOUNDhashtag

You will need the latest version of xsoundarrow-up-right

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

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


Inventories :

chevron-rightQB INVENTORYhashtag

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>`;
            }
chevron-rightQS INVENTORYhashtag

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

chevron-rightOX INVENTORYhashtag

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

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


Dialog :

chevron-rightZAT DIALOGhashtag

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

Doorlock:

chevron-rightQB DOORLOCKhashtag

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

chevron-rightOX DOORLOCKhashtag

Just import the ox_doorlock.sql into your Database.

ENSURE RESOURCES

Last updated