Of course we are familiar with countitem() script and just like cartcountitem(). Countitem() script will counts certain item in player inventory. It has a parameter, item_id. For example, countitem(501) which will gives return value of how many Red Potion in player inventory.
On previous post, cartcountitem() is used for count how many item that player has on their cart.
This storagecountitem() script is used for counting certain item in player storage. For an example, we need to count how many Red Potions (item id: 501) in player’s storage. So, to use this script, we only need type this line:
If player’s storage contains Red Potion, storagecountitem script tells us how many Red Potion in storage.
Here the screenshots of storagecountitem() used
Download storagecountitem() script – Count certain item in storage – Free code
*Above are Mediafire links*