[ESX/QBCORE] Storage Lockers - Create and Manage In-Game

A script by KeiranPower

No reviews yet.
[ESX/QBCORE] Storage Lockers - Create and Manage In-Game main image

Full Description

This script is written to work with QBCore and Zap Hosting ESX Pack

This resource requires QB-Menu or ESX Menu Default

This script will add the ability for players to buy their own storage lockers which are locked by a personal customizable pin.

Features of Storage Lockers:

  • Unlimited Storage Lockers.
  • Lockers can be created/deleted by either staff only or by jobs. (editable in config)
  • Lockers can be set as Objects which will automatically be created by the script.
  • Any GTA Object can be used as a locker object, just specify on locker command.
  • Lockers have individual prices storage amounts and slots.
  • Lockers accessible by anyone who knows the locker pin code.
  • Configurable Blips for available lockers and blips to see the players owned lockers.
  • Ability for Police to Raid Lockers. (Item Requirement can be set in config, can be set to any item)
  • Players can sell their locker for a partial or full refund. (editable in config)

This is compatible with the following inventory systems:

Performance: 0.00ms while not near a locker | 0.03-0.05ms while in storage unit.

Escrow Protected
Purchase Link

Unescrowed Version
Purchase Link

This uses RPC events on the server side so will require onesync to be enabled.

Editable Notifications and Language settings. // Editable HTML and Javascript

Updates

31/05/22: Added config option to use an item to open the locker creation menu instead of command based.

-- This allows an item to be used by anyone to create a storage locker.
useItem = false 

-- The name of the item required.
itemName = 'storage_locker'

-- Should the item be removed on use.
removeItemOnUse = false 

30/05/22: Changed /addlocker command.

Code is accessible No - Editable Notifications and Language
Subscription-based No
Lines (approximately) Lua - ~1000 / HTML - ~200
Requirements QBCore or ESX Legacy
Support Yes

My Other Scripts