overextended/ox_inventory

Add the option to lock stashes to an item

Opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Issue is not related to a problem but is soley our servers need, so I thought why not share it.

Describe the solution you'd like
So currently you can lock a stash to a group (job) and that isn't practical if multiple people share for example a house. So adding a canInteract and checking if the player has the item we want is the sollution I propose.

Describe alternatives you've considered
The althernative is to add all the jobs the players have but that isn't really practical.

Additional context