beefsteak 30 Share Posted May 20, 2021 Hey, so I've got my inventory counter working but the problem is it clears the number of items after banking. public void onStart() { private int countHides; } public int onLoop() { countBottoms = Inventory.count("Cowhide"); } public void onPaint(Graphics g){ g.setColor(Color.WHITE); g.drawString("# of Hides Looted: "+ countHides, 10, 50); } Is there a simple line of code that will save the number of hides when it banks and continue to count them? Thanks! Link to comment Share on other sites More sharing options...
Hashtag 8688 Share Posted May 20, 2021 See this thread Link to comment Share on other sites More sharing options...
beefsteak 30 Author Share Posted May 20, 2021 took me a sec to understand, but I got it working now! Thanks @Hashtag Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.