Method Player:GetItemCount [-] [+]

Returns amount of the specified Item the Player has.

Synopsis

itemamount = Player:GetItemCount( entry )

itemamount = Player:GetItemCount( entry, checkinBank )

Arguments

number entry

Entry of the item.

Valid numbers: integers from 0 to 4,294,967,295.

boolean checkinBank (false)

Also counts the items in player's bank if true.

Returns

number itemamount

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
©2016 - Eluna Lua Engine