Is it a custom Interface??.... Just add a button, then configure it server sided to Close all interfaces..
|
In my Bank Window There is no [x] button to close it, you have to use the Mini-map to walk and close the bank. My players are complaining about it, so does anyone know how I can add the Bank button top right
Sorry, Im not that good at understanding a lot of coding. I am really just basic Coder, and experimental. How would I do that?
I suppose you're using HyBriD PvP V3 client with a different source?
Go to PlayerAssistant.java and try replacing your openupbank void with this:
Code:public void openUpBank(){ synchronized(c) { if(c.inWild() && !c.isInPVPSafe()) { c.sendMessage("You can't bank in the wilderness!"); return; } if(c.getOutStream() != null && c != null) { c.getItems().resetItems(5064); c.getItems().rearrangeBank(); c.getItems().resetBank(); c.getItems().resetTempItems(); c.getOutStream().createFrame(248); //bank interface with close button (wont work with clients using the old cache) c.getOutStream().writeWordA(23000); //bank interface without close button or deposit inventory button //c.getOutStream().writeWordA(5292); c.getOutStream().writeWord(5063); c.flushOutStream(); } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |