Page 1 of 1

Colour of a name in PvP

Posted: Sat Dec 05, 2009 9:55 pm
by INDIGO
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 3694:
L2JDP Revision 6774:

Hi.

Where in server source codes there is a function of change of colour of a name when the player is in mode PvP?

Re: Colour of a name in PvP

Posted: Sun Dec 06, 2009 11:07 am
by JIV
client side.

Re: Colour of a name in PvP

Posted: Sun Dec 06, 2009 11:15 am
by janiii
you can change only the title.

Re: Colour of a name in PvP

Posted: Sun Dec 06, 2009 11:53 am
by INDIGO
Hmm... And I can forbid to change colour of a name in mode PvP, on the server party?

Re: Colour of a name in PvP

Posted: Sun Dec 06, 2009 12:01 pm
by janiii
check UserInfo class for

Code: Select all

writeD(_activeChar.getPvpFlag()); // 0-non-pvp  1-pvp = violett name

Re: Colour of a name in PvP

Posted: Sun Dec 06, 2009 1:23 pm
by INDIGO
janiii wrote:check UserInfo class for

Code: Select all

writeD(_activeChar.getPvpFlag()); // 0-non-pvp  1-pvp = violett name

Thanks, it work! :D