With this script admins are able to list storage lockers for players to buy. When purchased, players are able to set a password which they can then share with friends, business partners and gang members. They can use this for shared storage, or just hiding their items from cops.
Features
Staff can list unlimited amounts of storage lockers around the map
Staff can set the price and storage amount on each locker
Players can set their own password upon purchase and change their password
Players can share this password with their friends
Blips for the locker location
Players can sell their locker for 90% of the original price
I keep getting this when the locker script tries to start:
[ c-scripting-core] Creating script environments for shanks-storagelockers
[ c-scripting-core] Failed to load script @qb-core/import.lua.
[script:shanks-storag] Error loading script server/main.lua in resource shanks-storagelockers: @shanks-storagelockers/server/main.lua:3: attempt to index a nil value (global āQBCoreā)
[script:shanks-storag] stack traceback:
[script:shanks-storag] @shanks-storagelockers/server/main.lua:3: in main chunk
[ c-scripting-core] Failed to load script server/main.lua.
Also the discord link in the readme is no longer valid
Yes add this to client and server main.lua:
in client add at top on server add under config
local QBCore = exports[āqb-coreā]:GetCoreObject()
and remove:
shared_script ā@qb-core/import.luaā
from fxmanifest.lua
remove line 1 from server/main.lua
I do not recommend this script. Very small readME, file did not even come with a Config.lua, and there are errors in the console. When you go to the ReadMe to get Discord support, the link is invalid. Poor quality, sad that I bought this and wasted money