Update stashes.md (#53)

Explained correct usage for the *groups* value
This commit is contained in:
Alessandro Alterno authored and GitHub committed 2022-10-16 12:50:25 +11:00
1 parent 151d264874
commit c4e47195e8
1 file changed
+5
+5
View File
@@ -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 - 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 - 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. You can set the stash coordinates to prevent the stash from being opened if the player isn't close enough.
## Example ## Example