Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void creditsTab(TextDrawingArea[] tda) {
- RSInterface tab = addInterface(52500);
- addSprite(52501, 38, "/Credits Tab/SPRITE");
- addText(52502, "Player Panel", 0xE3A724, true, true, -1, tda, 2);
- addSprite(52503, 55, "/Credits Tab/SPRITE");
- addText(52504, "gegegegegtest1", 0xE3A724, true, true, -1, tda, 0);
- addText(52505, "testrrgege", 0xff9933, true, true, -1, tda, 0);
- addHoverText(52505, "www.OwnXile.org", "OwnXile", tda, 0, 0xF7AA25, true, true, 168);
- addSprite(52506, 56, "/Credits Tab/SPRITE");
- tab.totalChildren(9);
- tab.child(0, 52501, 0, 25);
- tab.child(1, 52502, 95, 5);
- tab.child(2, 52503, -5, 28);
- tab.child(3, 52504, 95, 35);
- tab.child(4, 52505, 12, 50);
- tab.child(5, 52506, 2, 79);
- tab.child(6, 52501, 0, 70);
- tab.child(7, 52501, 0, 254);
- tab.child(8, 52530, 5, 79);
- RSInterface scrollInterface = addTabInterface(52530);
- scrollInterface.parentID = 52500;
- scrollInterface.scrollPosition = 0;
- scrollInterface.atActionType = 0;
- scrollInterface.contentType = 0;
- scrollInterface.width = 169;
- scrollInterface.height = 167;
- scrollInterface.scrollMax = 150;
- int x = 7, y = 9;
- scrollInterface.totalChildren(30);
- for (int i = 0; i < 30; i++) {
- addHoverText(52531 + i, "", "Player Info", tda, 0, 0xE3A724, true, true, 168);
- scrollInterface.child(i, 52531 + i, x, y);
- y += 18;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement