FANDOM


GetBagItemCount(ItemId);

Counts the current amount of items, given by an item id, in the bag.

Parameters Edit

Arguments Edit

ItemId
number - A valid ItemId.

Returns Edit

number
number - The amount of items, refered by given ItemId, currently in the bag.

Example Edit

-- Count the amount of Tin Ore
countTin = GetBagItemCount(200232);
-- Count the amount of Zinc Ore
countZinc = GetBagItemCount(200230);

Notes Edit

Item Id can be found here.

Related Functions Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.