Returns the item ID of an item in the player's bags
See also Container functions.
Signature:
id
=
GetContainerItemID(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:
id
- Numeric ID of the item in the given slot (itemID
)