Deletes a mail from the player's inbox


See also Mail functions.

Signature:

DeleteInboxItem(mailID)

Arguments:

  • mailID - Index of a mail in the player's inbox (between 1 and GetInboxNumItems()) (number)
This function does not prompt the user for confirmation before its results take effect -- that behavior is provided by the default UI, and this function is called from the confirmation dialog