BloodyIcon Posted December 7, 2010 Posted December 7, 2010 Hello guys how to make when someone is a clan leader to change his name automatically????
0 Kяaσh Posted December 7, 2010 Posted December 7, 2010 ### 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 ~Ge0rge~ Posted December 7, 2010 Posted December 7, 2010 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)
Question
BloodyIcon
Hello guys how to make when someone is a clan leader to change his name automatically????
3 answers to this question
Recommended Posts