API PickupBagFromSlot
Talk0
98,468pages on
this wiki
this wiki
Picks up the bag from the specified slot, placing it in the cursor.
PickupBagFromSlot(slot);
Arguments
Edit
- slot
- InventorySlotID - the slot containing the bag.
Notes
Edit
- Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
- inventoryID ,the result of ContainerIDtoInventoryID(BagID), can help to compute the slot number and bag numbers can be viewed in the InventorySlotID page.