Jump to content
  • 0
Sign in to follow this  
shoppop

Dementhium | Donor Icon

Question

I added this in playerupdate.java it seems to work but only donators can see it.

[CODE] else if (player.getDefinition().getDonator() == 1 && player.getRights() == 0) {
appearanceData.writeRS2String("<img=2><b><col=993399>Respected Donator</col></b> "+Misc.formatPlayerNameForDisplay(p.getUsername()));
}[/CODE]

any suggestions?

EDIT: or does anyone know where i could find a cache editor for a 637?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
[quote name='shoppop']I added this in playerupdate.java it seems to work but only donators can see it.

[CODE] else if (player.getDefinition().getDonator() == 1 && player.getRights() == 0) {
appearanceData.writeRS2String("<img=2><b><col=993399>Respected Donator</col></b> "+Misc.formatPlayerNameForDisplay(p.getUsername()));
}[/CODE]

any suggestions?

EDIT: or does anyone know where i could find a cache editor for a 637?[/QUOTE]

I believe your code is checking if the person clicking on someone else is a donator if they are a donator and their rights are zero, then it will show respected donator and their name.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']I believe your code is checking if the person clicking on someone else is a donator if they are a donator and their rights are zero, then it will show respected donator and their name.[/QUOTE]

see i originally thought that my self but when the first line is (player.getUsername().equals("bob")) then it works fine and everyone can see that bob is a respected donor ?

Share this post


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

×