Returns the number of slots in one of the player's bags


See also Container functions.

Signature:

numSlots = GetContainerNumSlots(container)

Arguments:

  • container - Index of one of the player's bags or other containers (number, containerID)

Returns:

  • numSlots - Number of item slots in the container (number)