- Inventory System for QR-Core
- Stashes (Personal and/or Shared)
- Inventory Hotbar
- Shops
- Item Drops
- qr-core
- qr-smallresources - Logging item transfers and other interactions
- qr-shops - Create shops
- Download the script and put it in the
[qr]
directory. - Import
qr-inventory.sql
in your database - Add the following code to your server.cfg/resouces.cfg
ensure qr-core
ensure qr-smallresources
ensure qr-inventory
ensure qr-shops
Config = {}
Config.UseTarget = GetConvar('UseTarget', 'false') == 'true' -- Use qr-target interactions (don't change this, go to your server.cfg and add `setr UseTarget true` to use this and just that from true to false or the other way around)
Config.MaxInventoryWeight = 120000 -- Max weight a player can carry (default 120kg, written in grams)
Config.MaxInventorySlots = 41 -- Max inventory slots for a player
Config.CleanupDropTime = 15 * 60 -- How many seconds it takes for drops to be untouched before being deleted
Config.MaxDropViewDistance = 12.5 -- The distance in GTA Units that a drop can be seen
Config.UseItemDrop = false -- This will enable item object to spawn on drops instead of markers
Config.ItemDropObject = `p_bag_leather_doctor` -- if Config.UseItemDrop is true, this will be the prop that spawns for the item