Difference between revisions of "Setitemnum (call target)"
Jump to navigation
Jump to search
(Created page with "{{Call|id=0x055c|return=|name=setitemnum|args=u_short itemId, int amount|act=}}Sets amount of given item in inventory. If <code>amount</code> is zero, item is completely remo...") |
(No difference)
|
Latest revision as of 07:22, 24 July 2019
Signature:
void setitemnum(u_short itemId, int amount); // id: 0x055cSets amount of given item in inventory.
If amount is zero, item is completely removed. Doesn't unequip items.