Jump to content

Recommended Posts

Posted

[shadow=red,left]Today i think to make something funny. i have bad java skills so i decide to make different name colors between races. it's very simple code.

 

Here it is[/shadow]

http://pastebin.com/MqzWNHBe

 

[shadow=red,left]Hope someone will need it.

 

Colors List:[/shadow]

Humans

Elfs

Dark Elfs

Orcs

Dwarfs

 

 

 

[shadow=red,left]Credits to me[/shadow]

Posted

1) Improper hide. 200 posts? Even B1ggBoss's codes aren't hidden for that much.

2) Pff, more checks, more useless lines >_> Next thing will be blue name for males and pink for females..

Posted

 

2) Pff, more checks, more useless lines >_> Next thing will be blue name for males and pink for females..

You have great inspiration!In max 1 week it will be implemented
Posted

Or another

different colour for each rank

 

Different for Vagabond

different for Baron

different for Marquis

etc

 

Anyway, the conclusion is that we can have tons of such codes, and they are pretty useless..

  • 1 month later...
Posted

how about if i want to set my own colors?

#

case human:

                    player.getAppearance().setNameColor(0xff7f00);

              break;

              case elf:

                      player.getAppearance().setNameColor(0xff0000);

              break;

              case darkelf:

                      player.getAppearance().setNameColor(0x00ffff);

              break;

              case orc:

                      player.getAppearance().setNameColor(0x0099ff);

              break;

              case dwarf:

                      player.getAppearance().setNameColor(0x70db93);

 

where can i find codes for other colors?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...