I don't recall Runescape having 6 options Oo
|
Hello Im Coding some new stuff at my rsps and i got a problem with dialogue handler
I ill send you my code, Here's my code:
private void sendOption(String s, String s1) {
c.getPA().sendFrame126("Select an Option", 2470);
c.getPA().sendFrame126(s, 2471);
c.getPA().sendFrame126(s1, 2472);
c.getPA().sendFrame126("Click here to continue", 2473);
c.getPA().sendFrame164(13758);
}
private void sendOption2(String s, String s1) {
c.getPA().sendFrame126("Select an Option", 2460);
c.getPA().sendFrame126(s, 2461);
c.getPA().sendFrame126(s1, 2462);
c.getPA().sendFrame164(2459);
}
private void sendOption3(String s, String s1, String s2) {
c.getPA().sendFrame126("Select an Option", 2460);
c.getPA().sendFrame126(s, 2461);
c.getPA().sendFrame126(s1, 2462);
c.getPA().sendFrame126(s2, 2462);
c.getPA().sendFrame164(2459);
}
public void sendOption4(String s, String s1, String s2, String s3) {
c.getPA().sendFrame126("Select an Option", 2481);
c.getPA().sendFrame126(s, 2482);
c.getPA().sendFrame126(s1, 2483);
c.getPA().sendFrame126(s2, 2484);
c.getPA().sendFrame126(s3, 2485);
c.getPA().sendFrame164(2480);
}
public void sendOption5(String s, String s1, String s2, String s3, String s4) {
c.getPA().sendFrame126("Select an Option", 2493);
c.getPA().sendFrame126(s, 2494);
c.getPA().sendFrame126(s1, 2495);
c.getPA().sendFrame126(s2, 2496);
c.getPA().sendFrame126(s3, 2497);
c.getPA().sendFrame126(s4, 2498);
c.getPA().sendFrame164(2492);
}
Ok Now how do i do SendOption 6?
Please Help
I don't recall Runescape having 6 options Oo
Just add:
Code:public void sendOption6(String s, String s1, String s2, String s3, String s4, String s5) { c.getPA().sendFrame126("Select an Option", 2493); c.getPA().sendFrame126(s, 2494); c.getPA().sendFrame126(s1, 2495); c.getPA().sendFrame126(s2, 2496); c.getPA().sendFrame126(s3, 2497); c.getPA().sendFrame126(s4, 2498); c.getPA().sendFrame126(s5, 2499); c.getPA().sendFrame164(2492); }
Lol it just gives me 5 options '
i need 6 options...
Ok thx
You can not. You should use 'next page' just like RuneScape does. Even though you could create it yourself, but the text would probably too small.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |