Jump to content
  • 0

[HELP]ExShowScreenMessage to all (HOW???)


Question

Posted

Hello MxC! so i want to tell me a code that all players will see the screen message that i will put!

everyone knows how to do that?!!!

 

i have freya server last revision!

Recommended Posts

  • 0
Posted

on eclipse don't get any error and on build too... but in the game don't show me the screenmessage

 

check please if this code is ok:

			 ExShowScreenMessage vote = (new ExShowScreenMessage("Need " + votesneed + " votes More to Reward all Players.", 10000));
		 for(L2PcInstance player : L2World.getInstance().getAllPlayers().values())
		 {
			 if(player == null)
			  continue;
		 sendPacket(vote);
		 }

i have any problem on this?

 

It should work .

  • 0
Posted

Collection<L2PcInstance> plrs = L2World.getInstance().getAllPlayers().values();
               CreatureSay cs = new CreatureSay(1, Say2.ANNOUNCEMENT, "Server:", "lalalala");
              
               for (L2PcInstance p : plrs)
               {
                       p.sendPacket(cs);
               }

 

try it

  • 0
Posted

also you can check how ExShowScreenMessage.java works ,

 

but do you mean it doenst work ?

it doent show anything? i guess this is imposible ...

  • 0
Posted

also you can check how ExShowScreenMessage.java works ,

 

but do you mean it doenst work ?

it doent show anything? i guess this is imposible ...

 

o yeah... it don't show anything...

Guest
This topic is now closed to further replies.


×
×
  • Create New...