Guest User

Untitled

a guest
May 20th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. public static void Rules(TextDrawingArea[] tda)
  2. {
  3. RSInterface tab = addTabInterface(17250);
  4. addSprite(17251, 0, "Interfaces/Rules/WELCOME");
  5. addHoverButton(17252, "Interfaces/Rules/SPRITE", 6, 78, 39, "Accept", -1, 17253, 1);
  6. addHoveredButton(17253, "Interfaces/Rules/SPRITE", 7, 78, 39, 17254);
  7. addHoverButton(17255, "Interfaces/Rules/SPRITE", 6, 78, 39, "Decline", -1, 17256, 1);
  8. addHoveredButton(17256, "Interfaces/Rules/SPRITE", 7, 78, 39, 17257);
  9. addText(17800, "I Agree", tda, 0, 0x33ff00, false, true);
  10. addText(17801, "Decline", tda, 0, 0xff0000, false, true);
  11. addText(17802, "By clicking 'I Agree' you agree to everything stated below:", tda, 2, 0xff981f, false, true);
  12. addText(17803, "", tda, 0, 0xff981f, false, true);
  13. addText(17804, "", tda, 0, 0xff0000, false, true);
  14. addText(17805, "", tda, 0, 0xff981f, false, true);
  15. addText(17806, "", tda, 0, 0xff981f, false, true);
  16. addText(17807, "", tda, 0, 0xff981f, false, true);
  17. addText(17808, "", tda, 0, 0xff981f, false, true);
  18. addText(17809, "", tda, 0, 0xff981f, false, true);
  19. addText(17810, "", tda, 0, 0xff981f, false, true);
  20. addText(17811, "", tda, 0, 0xff981f, false, true);
  21. tab.totalChildren(18);
  22. tab.child(0, 17251, 0, 0);
  23. tab.child(1, 17252, 140, 276);
  24. tab.child(2, 17253, 140, 276);
  25. tab.child(3, 17255, 280, 276);
  26. tab.child(4, 17256, 280, 276);
  27. tab.child(5, 17800, 159, 285);
  28. tab.child(6, 17801, 297, 285);
  29. tab.child(7, 17802, 22, 37);
  30. tab.child(8, 17803, 210, 40);
  31. tab.child(9, 17804, 26, 64);
  32. tab.child(10, 17805, 26, 79);
  33. tab.child(11, 17806, 26, 91);
  34. tab.child(12, 17807, 26, 106);
  35. tab.child(13, 17808, 26, 118);
  36. tab.child(14, 17809, 26, 133);
  37. tab.child(15, 17810, 26, 145);
  38. tab.child(16, 17811, 26, 160);
  39. tab.child(17, 14000, 0, 58);
  40. tab = addTabInterface(14000);
  41. tab.width = 476;
  42. tab.height = 213;
  43. tab.scrollMax = 405;
  44. for(int i = 14001; i <= 14030; i++){
  45. addText(i, "", tda, 1, 0xffffff, false, true);
  46. addText(14008, "", tda, 0, 0xff981f, true, true);
  47. addText(14009, "", tda, 0, 0xff981f, true, true);
  48. addText(14011, "", tda, 0, 0xff981f, true, true);
  49. addText(14012, "", tda, 0, 0xff981f, true, true);
  50. addText(14014, "", tda, 0, 0xff981f, true, true);
  51. addText(14015, "", tda, 0, 0xff981f, true, true);
  52. addText(14017, "", tda, 0, 0xff981f, true, true);
  53. addText(14018, "", tda, 0, 0xff981f, true, true);
  54. addText(14020, "", tda, 0, 0xff981f, true, true);
  55. addText(14021, "", tda, 0, 0xff981f, true, true);
  56. addText(14023, "", tda, 0, 0xff981f, true, true);
  57. addText(14024, "", tda, 0, 0xff981f, true, true);
  58. addText(14026, "", tda, 0, 0xff981f, true, true);
  59. addText(14027, "", tda, 0, 0xff981f, true, true);
  60. }
  61. tab.totalChildren(30);
  62. int Child = 0;
  63. int Y = 5;
  64. for(int i = 14001; i <= 14030; i++){
  65. tab.child(Child, i, 248, Y);
  66. Child++;
  67. Y += 13;
  68. }
  69. }
Add Comment
Please, Sign In to add comment