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:

    -- cash exchange
    rfid_cloner             = { name = 'rfid_cloner',                  label = 'RFID Cloner',                   weight = 100,       type = 'item',      image = 'rfid_cloner.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'RFID Cloner' },    
    moneyprinter            = { name = 'moneyprinter',                 label = 'Money Printer',                 weight = 100,       type = 'item',      image = 'moneyprinter.png',                                         unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Money Printer' },    
    ink                     = { name = 'ink',                          label = 'Special ink',                   weight = 100,       type = 'item',      image = 'ink.png',                                                  unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Special ink' },    
    paper                   = { name = 'paper',                        label = 'Paper',                         weight = 100,       type = 'item',      image = 'paper.png',                                                unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'Paper' }, 

Add this into your qb-inventory js file:

         case "rfid_cloner":
            if (itemData.info.uses == undefined) {
                return `<p>Uses: 5</p>`;  
            }else{
                return `<p>Uses: ${itemData.info.uses}</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


ZAT DIALOG


ENSURE RESOURCES

Last updated