FANDOM


Take the items attached to an inbox message.

TakeInboxItem(mailindex)

Parameter Edit

mailindex
Integer - the index of the inbox message {1 to API:GetInboxNumItems}

Note that there is or will be a second parameter to specify the item index in case multiple items are attached to a inbox message. This is currently not the case, but may be possible in future.

Returns Edit

Nothing

Notes Edit

  • It may be required to "read" the mail first. This can be done by API:GetInboxText.
  • You should check that you bag has enough free slots to store the attached items. You could do that with API:GetBagCount. It seems you can call this function directly after another for a bunch of Inbox messages. All the Attached items will be added to you bag queue, but make sure that you didn't overload the bag queue!

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.