PierreMGI
This command works only on alive unit. No matter you run it before or after death, on due backpackContainer unit, the backpack will be accessible on corpse.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Lock or unlock a vehicle's inventory access. This command can also lock backpack a unit is wearing to prevent access by a third party. If set to true (locked), the inventory cannot be accessed via hotkey or action menu.
vehicle lockInventory lock
Parameters:
Returns: Nothing
vehicle player lockInventory true;
backpackContainer player lockInventory true;
This command works only on alive unit. No matter you run it before or after death, on due backpackContainer unit, the backpack will be accessible on corpse.