Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. public static void staffTab(TextDrawingArea[] tda) {
  2. RSInterface tab = addTabInterface(24999);
  3. int index = 0;
  4. addText(28024, "Useful tab", 0xff9b00, false, true, 34, tda, 1); // Title
  5. addSprite(16126, 0, "Interfaces/stafftab/SPRITE");
  6. addHoverButton(28018, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Open staff list", -1, 28019, 1);
  7. addHoveredButton(28019, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28020);
  8. addHoverButton(28026, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Request assistance", -1, 28027, 1);
  9. addHoveredButton(28027, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28028);
  10.  
  11. addHoverButton(28030, "Interfaces/stafftab/SPRITE", 2, 160, 32, "See updates", -1, 28031, 1);
  12. addHoveredButton(28031, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28032);
  13.  
  14. addHoverButton(28034, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Open the website", -1, 28035, 1);
  15. addHoveredButton(28035, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28036);
  16.  
  17. addHoverButton(28037, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Vote for us", -1, 28038, 1);
  18. addHoveredButton(28038, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28039);
  19.  
  20. addHoverButton(28042, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Open the forum", -1, 28043, 1);
  21. addHoveredButton(28043, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28044);
  22.  
  23.  
  24. addText(28025, "The staff list", 0xff9b00, false, true, 34, tda, 1);
  25. addText(28029, "Help me!", 0xff9b00, false, true, 34, tda, 1);
  26. addText(28033, "Latest Updates", 0xff9b00, false, true, 34, tda, 1);
  27. addText(28040, "Open our website", 0xff9b00, false, true, 34, tda, 1);
  28. addText(28041, "Vote here!", 0xff9b00, false, true, 34, tda, 1);
  29. addText(28045, "Our forums", 0xff9b00, false, true, 34, tda, 1);
  30. tab.totalChildren(20);
  31. tab.child(0, 28024, 49, 4);
  32. tab.child(1, 16126, 0, 22);
  33.  
  34. tab.child(2, 28018, 15, 226);
  35. tab.child(3, 28019, 15, 226);
  36.  
  37. tab.child(4, 28026, 15, 186);
  38. tab.child(5, 28027, 15, 186);
  39.  
  40. tab.child(6, 28030, 15, 146);
  41. tab.child(7, 28031, 15, 146);
  42.  
  43. tab.child(8, 28034, 15, 106);
  44. tab.child(9, 28035, 15, 106);
  45.  
  46. tab.child(10, 28037, 15, 66);
  47. tab.child(11, 28038, 15, 66);
  48.  
  49. tab.child(12, 28042, 15, 26);
  50. tab.child(13, 28043, 15, 26);
  51.  
  52. tab.child(14, 28029, 59, 194);
  53. tab.child(15, 28025, 52, 234);
  54. tab.child(16, 28033, 52, 154);
  55.  
  56. tab.child(17, 28040, 52, 114);
  57. tab.child(18, 28041, 52, 74);
  58. tab.child(19, 28045, 52, 34);
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement