Returns the number of free slots in a container and the types of items it can hold
See also Container functions.
container- Index of one of the player's bags or other containers (
freeSlots- Number of empty slots in the bag (
bagType- Bitwise OR of the item families that can be put into the container; see
GetItemFamilyfor details (