Skip to content

GHI_GetContainerInfo

Pilus edited this page Aug 11, 2015 · 1 revision

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)

Clone this wiki locally