Code:
public void clearQuestInterface(Player p) {
for (int i = 1; i <= 310; i++) {
setString(p, "", 275, i);
}
}
public void clearQuestInterface2(Player p) {
for (int i = 32; i <= 141; i++) {
setString(p, "", 274, i);
}
}
/**
* This clears the Quest tab to input your own quests.
* <col=11cc11></col>
*/
public void customQuestTab(Player p) {
setString(p, " <col=11cc11><u>Reflection-X</u></col>", 274, 6);
setString(p, "Forums: <col=66ffff>http://reflection-x.co.nr", 274, 7);
setString(p, "", 274, 8);
if(p.rights == 0) {
setString(p, "Rank:"+" "+" "+"<col=66ffff>Player", 274, 9);
} else if (p.rights == 1) {
setString(p, "Rank:"+" "+" "+"<col=66ffff>Moderator", 274, 9);
} else if (p.rights == 2) {
setString(p, "Rank:"+" "+" "+"<col=66ffff>Administrator", 274, 9);
}
setString(p, "Username:"+" "+" "+"<col=66ffff>"+p.username.substring(0, 1).toUpperCase() + p.username.substring(1), 274, 10);
setString(p, "", 274, 11);
setString(p, " <col=11cc11><u>Most recent update:</u></col>", 274, 12);
setString(p, "<col=66ffff>Adding a ton of stuff!!!", 274, 13);
setString(p, "", 274, 14);
setString(p, "", 274, 15);
setString(p, "", 274, 16);
setString(p, "", 274, 17);
setString(p, " <col=11cc11><u>Commands</u></col>", 274, 18);
setString(p, "", 274, 19);
setString(p, "", 274, 20);
setString(p, "", 274, 21);
setString(p, "", 274, 22);
setString(p, "", 274, 23);
setString(p, "", 274, 24);
setString(p, "", 274, 25);
setString(p, "", 274, 26);
setString(p, "", 274, 27);
setString(p, "", 274, 28);
setString(p, "", 274, 29);
setString(p, "", 274, 30);
setString(p, " <col=11cc11><u>Quests</u></col>", 274, 32);
setString(p, "", 274, 33);
setString(p, "", 274, 34);
setString(p, "", 274, 35);
setString(p, "", 274, 36);
setString(p, "", 274, 37);
setString(p, "", 274, 38);
setString(p, "", 274, 39);
setString(p, "", 274, 40);
setString(p, "", 274, 41);
setString(p, "", 274, 42);
setString(p, "", 274, 43);
}
Please help me. Thanks