No categories assigned

LUA:GetItemCount

LUA Functions: GetItemCount()

Returns the count of an item.


Syntax

GetItemCount(param1)


Parameters

Required - param1 (Item)
param1 is the item to get count from


Usage

function used(Item, Player)
    Say(Player, GetItemCount(Item))
end

When this item is used the player will say the item count in chat.