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_OpenBag(itemContainerGuid, itemContainerSlot, size , texture)
GHI_OpenBag has 3 required arguments and 1 optional argument.
- The number of slots in the bag. Beginning with 1 slot, the next number of available slots is 4 and increasing by 2.
- The background of the container. Choose from Normal, Bank, Keychain.
local bag = stack.GetItemGuid()
GHI_ProduceItem("1234567", 1, bag)
This script opens a one slot bag when used and produces an item in that slot.