Skip to main content
Completely disables or re-enables inventory opening. When disabled, all inventory interactions are blocked: hotkeys, keybinds, and direct export/event calls. If the inventory is currently open when disabling, it will be closed and the weapon will be dequipped automatically. This is useful for cutscenes, minigames, progress bars, or any scenario where the player should not be able to open the inventory.

Parameters

Return value

None.

Notes

ox_inventory compatibility: If you are migrating from ox_inventory, this export replaces the invBusy state bag pattern. Scripts that set LocalPlayer.state:set('invBusy', true, true) will continue to work automatically, jaksam_inventory listens for invBusy state bag changes and maps them to the same internal flag.