GetItemOnSlotID
Returns the InventoryItem on a specified slot shortkey. (Shortkey is the actionbars 1-5)
- inv:
number
- slotId:
number
Returns InventoryItem
or nil
if not weared any.
This function only works on Player Inventory classes.
exports["avp_grid_inventory"]:GetItemOnSlotID(inv, slotId)