Quote Originally Posted by Sang View Post
Self.WithdrawItems(items array)

how can i specify the itemid, amount, bp where its at, bp to withdraw?
The entry must be a table. Example:

lua code:

Self.WithdrawItems(FIRST_BACKPACK, {ITEM1, BACKPACK_INDEX, AMOUNT}, {ITEM2, BACKPACK_INDEX, AMOUNT}...)



The FIRST_BACKPACK is where to start searching for your items (optional), then you start the array:

{3031, 2} -- gold coin to the backpack index 2
{3031, 2, 50} -- move 50 coins instead of all