Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question How to count items in inventory?

Joined
Aug 7, 2015
Messages
28
I need to check how many specific items in inventory something like that:
Code:
if( item == 27){//do stuff}
I am pretty sure it can be done i just dont know what is ...the first line i have no idea how to call it :( But it should be something like:
Code:
public SpriteItem item = Inventory.getItems("Logs");
I bet its not sprite item, but no idea what it is. Help pl0x :)
 
Top