Jump to content
  • 0

Custom Color Of Announcements


Question

Posted

How i can change of announcements Color in code...
Pack L2Jfrozen Now in Color i need Color and Topzone announcements  :-\

2 answers to this question

Recommended Posts

  • 0
Posted

How i can change of announcements Color in code...

Pack L2Jfrozen Now in Color i need Color and Topzone announcements  :-\

Broadcast.toAllOnlinePlayers(new CreatureSay(1, Say2.BATTLEFIELD,"Hopzone", " We are in the top "+firstPageRankNeeded+", so the reward will be big."));

BATTLEFIELD= yellow color

 

go to Say2.java  and find that:

 

public final static int ALL = 0;
public final static int SHOUT = 1; //!
public final static int TELL = 2;
public final static int PARTY = 3; //#
public final static int CLAN = 4;  //@
public final static int GM = 5;
public final static int PETITION_PLAYER = 6; // used for petition
public final static int PETITION_GM = 7; //* used for petition
public final static int TRADE = 8; //+
public final static int ALLIANCE = 9; //$
public final static int ANNOUNCEMENT = 10;
public final static int BOAT = 11;
public final static int L2FRIEND = 12;
public final static int MSNCHAT = 13;
public final static int PARTYMATCH_ROOM = 14;
public final static int PARTYROOM_COMMANDER = 15; //(Yellow)
public final static int PARTYROOM_ALL = 16; //(Red)
public final static int HERO_VOICE = 17;
public final static int CRITICAL_ANNOUNCE = 18;
public final static int SCREEN_ANNOUNCE = 19;
public final static int BATTLEFIELD = 20;
public final static int MPCC_ROOM = 21;
 
here you find all colors of you need
Guest
This topic is now closed to further replies.


×
×
  • Create New...