Lion5000 Posted October 14, 2012 Share Posted October 14, 2012 I would like to know how to change the color of announcements? checked client and also java but till 2 days i've got nothing usefull. would be nice if somebody could give me a tip Link to comment Share on other sites More sharing options...
KruMix Posted October 14, 2012 Share Posted October 14, 2012 First, you're in wrong section. Two, use 'Search' button. Link to comment Share on other sites More sharing options...
Lion5000 Posted October 15, 2012 Author Share Posted October 15, 2012 First, you're in wrong section. Two, use 'Search' button. Don't replay with such useless comments. Link to comment Share on other sites More sharing options...
Flash™ Posted October 15, 2012 Share Posted October 15, 2012 Test for this man RED ;) Index: trunk/Core/java/com/l2jserver/gameserver/Announcements.java =================================================================== --- a/trunk/Core/java/com/l2jserver/gameserver/Announcements.java +++ b/trunk/Core/java/com/l2jserver/gameserver/Announcements.java @@ -234,4 +234,9 @@ } + public void announceVote(String text) + { + Broadcast.announceVote(text); + } + public void announceToInstance(SystemMessage sm, int instanceId) { Index: trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java =================================================================== --- a/trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java +++ b/trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java @@ -247,3 +247,10 @@ } } + + public static void announceVote(String text) + { + CreatureSay cs = new CreatureSay(0, Say2.SHOUT, "Vote System", text); + toAllOnlinePlayers(cs); + } + } Link to comment Share on other sites More sharing options...
ReaLlDŦñ Posted October 15, 2012 Share Posted October 15, 2012 Test for this man RED ;) Index: trunk/Core/java/com/l2jserver/gameserver/Announcements.java =================================================================== --- a/trunk/Core/java/com/l2jserver/gameserver/Announcements.java +++ b/trunk/Core/java/com/l2jserver/gameserver/Announcements.java @@ -234,4 +234,9 @@ } + public void announceVote(String text) + { + Broadcast.announceVote(text); + } + public void announceToInstance(SystemMessage sm, int instanceId) { Index: trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java =================================================================== --- a/trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java +++ b/trunk/Core/java/com/l2jserver/gameserver/util/Broadcast.java @@ -247,3 +247,10 @@ } } + + public static void announceVote(String text) + { + CreatureSay cs = new CreatureSay(0, Say2.SHOUT, "Vote System", text); + toAllOnlinePlayers(cs); + } + } did you have something else with out java? :S Link to comment Share on other sites More sharing options...
Mhoska Posted October 15, 2012 Share Posted October 15, 2012 Read the rules, this isn't the right section, also learn some manners. Link to comment Share on other sites More sharing options...
Recommended Posts