Jump to content

Recommended Posts

Posted

 

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

Posted

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);
+        }
+        
}

Posted

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

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock