Jump to content
Sign in to follow this  
Delta

[PI] Custom Info Tab

Recommended Posts

[img]http://i.imgur.com/ujzYIQ0.png[/img]
[B]Sprites Download:[/B] [url]https://mega.co.nz/#!u4RhjSgL!LRs9D04Jx9NA8AEJnfpVbE-Z5U8Wp69kf00QqrL7DHU[/url]

[code]public static void infoTab(TextDrawingArea[] tda) {
RSInterface tab = addTabInterface(6000);
addText(6100, "Information", tda, 2, 0xff9933, true, true);
addText(6101, "Players Online: @[email protected]", tda, 2, 0xff9933, true, true);
addSprite(6001, 0, "/Interfaces/infoTab/SPRITE");
addSprite(6002, 1, "/Interfaces/infoTab/SPRITE");
addText(6200, "@[email protected]: @[email protected]", tda, 0, 0xff9933, false, true);
addText(6201, "@[email protected]: @[email protected]", tda, 0, 0xff9933, false, true);
addText(6202, "@[email protected]: @[email protected]", tda, 0, 0xff9933, false, true);
addText(6203, "@[email protected][@[email protected]@[email protected]] Voting Points", tda, 0, 0xff9933, false, true);
addText(6204, "@[email protected][@[email protected]@[email protected]] Slayer Points", tda, 0, 0xff9933, false, true);
addText(6205, "@[email protected][@[email protected]@[email protected]] Pest Control Points", tda, 0, 0xff9933, false, true);
addText(6206, "@[email protected][@[email protected]@[email protected]] Duel Points", tda, 0, 0xff9933, false, true);
addText(6207, "@[email protected][@[email protected]@[email protected]] Donator Points", tda, 0, 0xff9933, false, true);
addText(6208, "@[email protected][@[email protected]@[email protected]] Kills", tda, 0, 0xff9933, false, true);
addText(6209, "@[email protected][@[email protected]@[email protected]] Deaths", tda, 0, 0xff9933, false, true);
addText(6210, "@[email protected][@[email protected]@[email protected]] Kill/Death Ratio", tda, 0, 0xff9933, false, true);
addText(6211, "@[email protected]@[email protected]@[email protected]", tda, 0, 0xff9933, true, true);
tab.totalChildren(17);
tab.child(0, 6100, 95, 8);
tab.child(1, 6101, 95, 240);
tab.child(2, 6002, 0, 35);
tab.child(3, 6001, 0, 32);
tab.child(4, 6001, 0, 230);
tab.child(5, 6200, 15, 40);
tab.child(6, 6201, 15, 55);
tab.child(7, 6202, 15, 70);
tab.child(8, 6203, 15, 90);
tab.child(9, 6204, 15, 105);
tab.child(10, 6205, 15, 120);
tab.child(11, 6206, 15, 135);
tab.child(12, 6207, 15, 150);
tab.child(13, 6208, 15, 170);
tab.child(14, 6209, 15, 185);
tab.child(15, 6210, 15, 200);
tab.child(16, 6211, 95, 215);
}[/code] Edited by 317 Delta Coder

Share this post


Link to post
Share on other sites
Yo, im new at adding new interfaces so where would i put this code?
ty

Share this post


Link to post
Share on other sites
Nice release very basic though.

Share this post


Link to post
Share on other sites
I like this though but I think you should help out the people who are asking or just post where the code goes and modify your post :)

Share this post


Link to post
Share on other sites
Nice

Share this post


Link to post
Share on other sites
Sorry to Gravedig, but would there be any chance of a reupload? Kind of need this!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×