Sub Item

Signature

int subitem(int content, int count); //id:0x02f2

Description

Removes an item x times from the inventory and returns the new count.

Arguments

Content

The identifier of the content (e.g. 0 for Potion).

Count

The removed count of the content (e.g. 99).

Notes

For a list of content identifiers, you can view this spreadsheet.

Last updated