Skip to content

Custom Color Of Announcements

Featured Replies

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

Solved by nikosdevil20

  • Solution

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
  • Author

thx mate...  ^-^

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.