Advertisement
Guest User

Untitled

a guest
May 14th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.97 KB | None | 0 0
  1.     public String Admins[][] = {{"Jonathan"},{"Developer"}};
  2.    
  3.     public void updateInterface(Client paramClient) {
  4.         paramClient.getPA().sendFrame126(
  5.                 "Talking in: <col=FFFF64>" + getTitle() + "</col>", 18139);
  6.         paramClient.getPA().sendFrame126(
  7.                 "Owner: <col=FFFFFF>" + Misc.formatPlayerName(getFounder())
  8.                 + "</col>", 18140);
  9.         Collections.sort(this.activeMembers);
  10.  
  11.         for (int i = 0; i < 100; i++)  {
  12.             if (i < this.activeMembers.size()) {
  13.                 for(int kl = 0; kl < Admins.length; kl++) {
  14.                     if(this.activeMembers.get(i).equalsIgnoreCase(Admins[kl][0])) {
  15.                         paramClient.getPA().sendFrame126( "<clan=8>" +
  16.                             Misc.formatPlayerName(this.activeMembers.get(i)), 18144 + i);  
  17.                     } else {
  18.                         paramClient.getPA().sendFrame126(
  19.                             "<clan=" + getRank(this.activeMembers.get(i)) + ">" +
  20.                              Misc.formatPlayerName(this.activeMembers.get(i)), 18144 + i);
  21.                     }
  22.                 }
  23.             } else {
  24.             paramClient.getPA().sendFrame126("", 18144 + i);
  25.             }
  26.         }
  27.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement