Advertisement
Guest User

Untitled

a guest
May 25th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. public static void creditsTab(TextDrawingArea[] tda) {
  2. RSInterface tab = addInterface(52500);
  3. addSprite(52501, 38, "/Credits Tab/SPRITE");
  4. addText(52502, "Player Panel", 0xE3A724, true, true, -1, tda, 2);
  5. addSprite(52503, 55, "/Credits Tab/SPRITE");
  6. addText(52504, "gegegegegtest1", 0xE3A724, true, true, -1, tda, 0);
  7. addText(52505, "testrrgege", 0xff9933, true, true, -1, tda, 0);
  8. addHoverText(52505, "www.OwnXile.org", "OwnXile", tda, 0, 0xF7AA25, true, true, 168);
  9. addSprite(52506, 56, "/Credits Tab/SPRITE");
  10. tab.totalChildren(9);
  11. tab.child(0, 52501, 0, 25);
  12. tab.child(1, 52502, 95, 5);
  13. tab.child(2, 52503, -5, 28);
  14. tab.child(3, 52504, 95, 35);
  15. tab.child(4, 52505, 12, 50);
  16. tab.child(5, 52506, 2, 79);
  17. tab.child(6, 52501, 0, 70);
  18. tab.child(7, 52501, 0, 254);
  19. tab.child(8, 52530, 5, 79);
  20. RSInterface scrollInterface = addTabInterface(52530);
  21. scrollInterface.parentID = 52500;
  22. scrollInterface.scrollPosition = 0;
  23. scrollInterface.atActionType = 0;
  24. scrollInterface.contentType = 0;
  25. scrollInterface.width = 169;
  26. scrollInterface.height = 167;
  27. scrollInterface.scrollMax = 150;
  28. int x = 7, y = 9;
  29. scrollInterface.totalChildren(30);
  30. for (int i = 0; i < 30; i++) {
  31. addHoverText(52531 + i, "", "Player Info", tda, 0, 0xE3A724, true, true, 168);
  32. scrollInterface.child(i, 52531 + i, x, y);
  33. y += 18;
  34.  
  35. }
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement