Returns durability status for an item in the player's bags


See also Container functions.

Signature:

durability, max = GetContainerItemDurability(container, slot)

Arguments:

  • container - Index of one of the player's bags or other containers (number, containerID)
  • slot - Index of an item slot within the container (number, containerSlotID)

Returns:

  • durability - The item's current durability (number)
  • max - The item's maximum durability (number)