Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns whether an inventory item is locked, usually as it awaits pending action.
isLocked = IsInventoryItemLocked(slotId)
- Arguments
-
- slotId
- number - The slot ID used to refer to that slot in the other GetInventory functions.
- Returns
-
- isLocked
- boolean - 1 if the slot is locked, nil otherwise
Notes
- PickupInventoryItem on an empty slot will not lock that slot.
- PickupInventoryItem on the ammo slot will not lock that slot.