Returns the number of free slots in a container and the types of items it can hold
See also Container functions.
Signature:
freeSlots, bagType = GetContainerNumFreeSlots(container)
Arguments:
container- Index of one of the player's bags or other containers (number, containerID)
Returns:
freeSlots- Number of empty slots in the bag (number)bagType- Bitwise OR of the item families that can be put into the container; seeGetItemFamilyfor details (number, bitfield)