function getItemBySlot (client-side)
Available since version: 0.3.0
This function will return the item instance from the local player's inventory slot.
Declaration
string|nil getItemBySlot(number slot)
Parameters
numberslot: Inventory slot, starting from 0.
Returns string|nil
Item instance, or nil if the slot is empty.