Folders
This function might not work in all inventories and is a problem with certain inventories not giving a damn about custom hooks. Only compatible inventories are:
ox_inventory
origen_inventory
jaksam_inventory
tgiann-inventory
A folder the player carries in their inventory that works as a personal stash — a small, portable container meant for keeping printed documents (and other small items) together.

Using a folder
The first time a player uses a document_folder, they're asked to give it a name. From then on, using that folder always opens the same stash, identified by a unique code saved to the item. The name helps players tell multiple folders apart.
A folder holds 10 slots and up to 10 weight by default — roughly ten printed documents, since each weighs one.
Rules
A folder cannot be placed inside another folder (or inside itself). This is blocked on purpose: the folder item is the key to its stash, so dropping it into its own storage would lock its contents away forever.
Because each folder carries its own stash code, the
document_folderitem must be unique / non-stacking.
Last updated