MegaMystic Posted April 20, 2013 Share Posted April 20, 2013 How do I make a player deposit everything in the inventory? Thanks! Link to comment Share on other sites More sharing options...
Speakmore Posted April 20, 2013 Share Posted April 20, 2013 client.getBank().depositAll() Link to comment Share on other sites More sharing options...
MegaMystic Posted April 20, 2013 Author Share Posted April 20, 2013 Thanks, but an explanation would be nice so I don't have to always ask questions. Thanks! Link to comment Share on other sites More sharing options...
danieljvdm Posted April 26, 2013 Share Posted April 26, 2013 Wait what? I don't know how to explain the simplest form of code... depositAll() is in the Bank class in the API... you should know where the API is... in order to access the bank class, you have to "get" it through the getBank method, which is in the client class. Everything you need is in the API, no fancy coding going on here... Link to comment Share on other sites More sharing options...