On this pageFunction: UnitAddItemToSlotById() UnitAddItemToSlotById(whichUnit, itemId, itemSlot): boolean Defined in: common.j.d.ts:16565 Parameters whichUnit unit unit itemId number integer (32-bit) itemSlot number integer (32-bit) Returns boolean boolean See https://lep.duckdns.org/jassbot/doc/UnitAddItemToSlotById