From c4e47195e86665f9768601c651e227dd0d341a32 Mon Sep 17 00:00:00 2001 From: Alessandro Alterno <28725795+lexinor@users.noreply.github.com> Date: Sun, 16 Oct 2022 03:50:25 +0200 Subject: [PATCH] Update stashes.md (#53) Explained correct usage for the *groups* value --- docs/ox_inventory/Guides/stashes.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ox_inventory/Guides/stashes.md b/docs/ox_inventory/Guides/stashes.md index 660116f8..57cb6bf8 100644 --- a/docs/ox_inventory/Guides/stashes.md +++ b/docs/ox_inventory/Guides/stashes.md @@ -32,6 +32,11 @@ The owner field will set permissions for stash access, with stashes registering - false: Only a single stash exists and is shared between all players - string: The stash explicitly belongs to the given owner, usually a player identifier +The groups field will restrict access to the given jobs / grades such as below +``` +groups = {["police"] = 0, ["ambulance"] = 2} +``` + You can set the stash coordinates to prevent the stash from being opened if the player isn't close enough. ## Example