lockInventory
Jump to navigation
Jump to search
Description
- Description:
- Lock or unlock a vehicle's inventory access. If you set it false (locked), the inventory won't be accessed via hotkey or action menu.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle lockInventory lock
- Parameters:
- vehicle: Object
- lock: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
vehicle player lockInventory true
Additional Information
- See also:
- lockedInventory
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | LOCKINVENTORY]][[ Category: arma3dev: Scripting Commands | LOCKINVENTORY]]