Coolio, don't think i will add tho. Never liked bank pins.
|
I HAVE A BANk PIN METHOD IN THIS ONE(BELOW FIRST ONE)Code:public void openUpBank() { for (int h2 = 0; h2 < 50; h2++) for (int h = 0; h < playerBankSize; h++) if(bankItems[h] <= 0) { bankItems[h] = bankItems[h+1]; bankItemsN[h] = bankItemsN[h+1]; bankItems[h+1] = 0; bankItemsN[h+1] = 0; } sendFrame248(5292, 5063); resetItems(5064); resetBank(); IsBanking = true; }
Can you add it to
the first One?
}Code:public void openUpBank() { if(bankPin != 0) { changeText126("@gre@Set", 15105); } else { changeText126("@red@NONE", 15105); } if(!hasPin() || pinCorrect()) { sendFrame248(5292, 5063); resetItems(5064); IsBanking = true; } else { showInterface(7424); }
Code:public void openUpBank() { for (int h2 = 0; h2 < 50; h2++) { for (int h = 0; h < playerBankSize; h++) { if (bankItems[h] <= 0) { bankItems[h] = bankItems[h+1]; bankItemsN[h] = bankItemsN[h+1]; bankItems[h+1] = 0; bankItemsN[h+1] = 0; } if (bankPin != 0) { changeText126("@gre@Set", 15105); } else { changeText126("@red@NONE", 15105); } if (!hasPin() || pinCorrect()) { sendFrame248(5292, 5063); resetItems(5064); IsBanking = true; resetBank(); } else { showInterface(7424); } } } }
Code:public void openUpBank() { if (hasPin) { changeText126("@gre@Set", 15105); } else { changeText126("@red@NONE", 15105); } if (hasPin && !pinCorrect) { showInterface(7424); return; } for (int h2 = 0; h2 < 50; h2++) { for (int h = 0; h < playerBankSize; h++) { if (bankItems[h] <= 0) { bankItems[h] = bankItems[h+1]; bankItemsN[h] = bankItemsN[h+1]; bankItems[h+1] = 0; bankItemsN[h+1] = 0; } } } sendFrame248(5292, 5063); resetItems(5064); resetBank(); IsBanking = true; }
Wrong section next time post it here; http://www.rune-server.org/forumdisplay.php?f=623 or http://www.rune-server.org/forumdisplay.php?f=10
Code:public void openUpBank() { if(bankPin != 0) { changeText126("@gre@Set", 15105); } else { changeText126("@red@NONE", 15105); } if(!hasPin() || pinCorrect()) { sendFrame248(5292, 5063); resetItems(5064); IsBanking = true; } else { showInterface(7424); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |