GHI_GetContainerInfo

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetContainerInfo(containerGuid)

Arguments:

GHI_GetContainerInfo(containerGuid) has 1 required argument.

containerGuid
''String''
The GUID of the container you wish to find info on

Returns:

slots
''Number''
The number of slots the bag has.
icon
''String''
The icon that represents the bag.

Example:

local itemGUID = stack.GetContainerGuid()

local slots, icon = GHI_GetContainerInfo(itemGUID)

print(slots,icon)