FANDOM


Returns the number of (accessable) mail items in your inbox.

GetInboxNumItems()

Parameter Edit

none

Returns Edit

numMails
Integer - the number of messages in your inbox.

Example Edit

Delete all mails without any check:

local numMails = GetInboxNumItems();
for index = 1 , numMails do
    DeleteInboxItem(index);
end

Please note that this is a very bad example of deleting all mails. Furthermore it may not work, as the server might stall since the delete requests are sent very frequently.

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.