Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
GHI_FindOneItem(itemGuid) has 1 required argument.
- The GUID of the item you wish to find. This function will find the first instance of the specified item and not all.
- The GUID of the bag it is in.
- The slot number the item is in in the bag.
local item = stack.GetItemGuid()
local bag,slot = GHI_FindOneItem(item)
print("Bag GUID: "..bag,"Slot Number: "..slot)