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:

    -- 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>`;  
            }
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


chevron-rightZAT DIALOG hashtag


ENSURE RESOURCES

Last updated