pub fn get_inventory_item_count(pid: u16, index: u16) -> i16Expand description
Get the count of the item at a certain index in a player’s latest inventory
changes.
pid The player ID whose inventory changes should be used.
index The index of the inventory item.
Returns the item count.