- 0 Talk
-
API EquipCursorItem
Equips the currently picked up item to a specific inventory slot.
EquipCursorItem(slot);
Contents |
Parameters
Edit
Arguments
Edit
- slot
- Numric - The slot ID to place the item into. Use GetInventorySlotInfo(slotname) to resolve an inventory slot name to its ID.
Example
Edit
EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));
Result
Edit
Attempts to equip the currently picked up item to the head slot.