πŸ”’Storage Lockers

Introduction

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

This script is written to work with QBCorearrow-up-right and Zap Hosting ESX Packarrow-up-right

This resource requires QB-Menu arrow-up-rightor ESX Menu Default

circle-info

This is compatible with the following inventory systems:

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)


Installation

  • Download the power_storageLocker from Keymaster

  • Run the .sql file in your database.

  • Add the files to your resources folder

  • Ensure that the resource file will start (either ensure your resource in the server.cfg or inside a folder which is started on server start)

  • Edit the config file to your needs

  • Restart your server


Configuration

Select the tab below for your framework to see the configuration options available.


Editable files

client.lua

Custom Notifications

If you would like to edit the notifications to add your own custom notifications or to match them to your other server notifications, you can edit them in the client.lua file. Default notifications are as follows:

Inventory triggers

HTML

HTML files are able to be edited.

  • index.html

    • Additional language translations can be edited here listed as:

  • script.js

  • style.css


Last updated