Jump to content
  • 0

[help] Color name to clan leaders.


Question

3 answers to this question

Recommended Posts

  • 0
Posted

### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 4422)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -148,6 +148,12 @@
                     activeChar.getAppearance().setNameColor(Config.GM_NAME_COLOR);
             }
         }
+        
+        
+        if (activeChar.isClanLeader())
+        {
+        	activeChar.getAppearance().setNameColor(0x00FF00);
+        }

         if (Config.PLAYER_SPAWN_PROTECTION > 0)
             activeChar.setProtection(true);

 

  • 0
Posted

as krash said.......

ps: this line: activeChar.getAppearance().setNameColor(0x00FF00);

 

the 00FF00 you change this with the color name code.

the 0x is the same(dont change it)

Guest
This topic is now closed to further replies.


×
×
  • Create New...