Code:
public static void spinTab(RSFont[] wid) {
RSInterface list = addTabInterface(13000);
RSInterface items = addTabInterface(13100);
RSInterface reward = addTabInterface(13300);
reward.interfaceShown = true;
addTransparentSprite(13301, 546, "SPINNER");
addSprite(13302, 547, "SPINNER");
addText(13304, "You won:", wid, 2, 0xff9040, true, true);
addText(13305, "name_here", wid, 1, 0xff9040, true, true);
RSInterface rewardContainer = addTabInterface(13303);
rewardContainer.spritesX = new int[1];
rewardContainer.spritesY = new int[1];
rewardContainer.inventoryValue = new int[1];
rewardContainer.inventory = new int[100000000];
rewardContainer.boxFilled = false;
rewardContainer.deletesTargetSlot = false;
rewardContainer.usableItemInterface = false;
rewardContainer.isInventoryInterface = false;
rewardContainer.interfaceShown = true;
rewardContainer.allowSwapItems = false;
rewardContainer.invSpritePadX = 0;
rewardContainer.invSpritePadY = 0;
rewardContainer.height = 1;
rewardContainer.width = 1;
rewardContainer.parentID = 41002;
rewardContainer.type = 4;
int rewardChild = 0;
reward.totalChildren(8);
reward.child(rewardChild++, 13301, 0, 0);
reward.child(rewardChild++, 13302, 140, 110);
reward.child(rewardChild++, 13003, 190, 42);
reward.child(rewardChild++, 13004, 190, 42);
reward.child(rewardChild++, 13007, 245, 47);
reward.child(rewardChild++, 13303, 230, 127);
reward.child(rewardChild++, 13304, 245, 172);
reward.child(rewardChild++, 13305, 244, 188);
items.width = 391;
addSprite(13001, 539, "SPINNER");
addSprite(13002, 538, "SPINNER");
addHoverButton(13003, "SPINNER", 542, 114, 25, "Spin", 250, 13004, 0);
addHoveredButton(13004, "SPINNER", 543, 114, 25, 4400);
addText(13007, "SPIN", wid, 2, 0xff9040, true, true);
addText(13009, "Spin to win!", wid, 2, 0xff9040, true, true);
addText(13010, "Possible rewards:", wid, 2, 0xff9040, true, true);
addHoverText(13011, "<u>Buy more spins", "Go to website", wid, 0, 0xff9040, true, false, 75);
addSprite(13101, 541, "SPINNER");
addSprite(13012, 544, "SPINNER");
addText(13014, "New items in:", wid, 2, 0xff9040, true, true);
addText(13015, "24:00", wid, 0, 0xff9040, false, true);
addText(13016, "Spins left:", wid, 2, 0xff9040, true, true);
addText(13017, "100", wid, 0, 0xff9040, false, true);
addText(13018, "Total gp won:", wid, 2, 0xff9040, true, true);
addText(13019, "1.5b", wid, 0, 0xff9040, false, true);
RSInterface container = addTabInterface(13200);
container.spritesX = new int[300];
container.spritesY = new int[300];
container.inventoryValue = new int[300];
container.inventory = new int[100000000];
container.boxFilled = false;
container.deletesTargetSlot = false;
container.usableItemInterface = false;
container.isInventoryInterface = false;
container.interfaceShown = true;
container.allowSwapItems = false;
container.invSpritePadX = 9;
container.invSpritePadY = 0;
container.height = 1;
container.width = 300;
container.parentID = 41002;
container.type = 4;
RSInterface possibleRewards = addTabInterface(13202);
possibleRewards.spritesX = new int[300];
possibleRewards.spritesY = new int[300];
possibleRewards.inventoryValue = new int[300];
possibleRewards.inventory = new int[100000000];
possibleRewards.boxFilled = false;
possibleRewards.deletesTargetSlot = false;
possibleRewards.usableItemInterface = false;
possibleRewards.isInventoryInterface = false;
possibleRewards.interfaceShown = true;
possibleRewards.allowSwapItems = false;
possibleRewards.invSpritePadX = 9;
possibleRewards.invSpritePadY = 0;
possibleRewards.height = 20;
possibleRewards.width = 4;
possibleRewards.parentID = 41002;
possibleRewards.type = 4;
RSInterface rewardScroll = addTabInterface(13201);
rewardScroll.width = 161;
rewardScroll.height = 133;
rewardScroll.scrollMax = 455;
int rewardScrollChild = 0;
rewardScroll.totalChildren(1);
rewardScroll.child(rewardScrollChild, 13202, 0, 0);
int listChild = 0;
int itemChild = 0;
items.totalChildren(2);
items.child(itemChild++, 13101, 0, 0);
items.child(itemChild++, 13200, 3, 3);
list.totalChildren(18);
list.child(listChild++, 13001, 10, 10);
list.child(listChild++, 13003, 200, 52);
list.child(listChild++, 13004, 200, 52);
list.child(listChild++, 13007, 255, 57);
list.child(listChild++, 13009, 252, 20);
list.child(listChild++, 13100, 58, 86);
list.child(listChild++, 13002, 250, 83);
list.child(listChild++, 13010, 145, 130);
list.child(listChild++, 13201, 60, 152);
list.child(listChild++, 13011, 27, 21);
list.child(listChild++, 13012, 265, 170);
list.child(listChild++, 13014, 337, 180);
list.child(listChild++, 13015, 385, 183);
list.child(listChild++, 13016, 345, 203);
list.child(listChild++, 13017, 385, 206);
list.child(listChild++, 13018, 345, 226);
list.child(listChild++, 13019, 392, 229);
list.child(listChild++, 13300, 10, 10);
}
client.java