Originally Posted by
blaxe
You mean to make a new quest tab button, right above and open a new tab for the points? hmm..
You could simply use the quest scroll interface and send strings to it. You would make the quest tab open up the quest scroll interface and you would then do something like this.
Code:
public void displayStatistics(Player player) {
player.getEventWriter().sendInterface(275); //OPENS THE INTERFACE
player.getEventWriter().sendString("Account statistics", 275, 2);
player.getEventWriter().sendString("Dungenoneering reward points: " + player.getDungeoneeringPoints(), 275, 3);
player.getEventWriter().sendString("Pest Control reward points: " + player.getPestControlPoints(), 275, 4);
}