Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.84 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.84 KB

qr-inventory

  • Inventory System for QR-Core

Features

  • Stashes (Personal and/or Shared)
  • Inventory Hotbar
  • Shops
  • Item Drops

Dependencies

Screenshots

image image image

Installation

  • 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

Configuration

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