Jump to content
  • 0

Java code gia announce


Question

Posted

καλησπέρα παιδιά... θα ήθελα να φτιάξω ένα Java Code για το vote reward system έτσι ώστε να κάνει announce έτσι:

 

Vote Reward: We need bla bla bla

 

Θα ήθελα να μου πείτε πως μπορώ να το φτιάξω έτσι....

 

PS:Client Freya

Ευχαριστώ

Recommended Posts

  • 0
Posted

loipon ekana add autes tis 2 lines....

import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.CreatureSay;

 

kai meta to ekana etsi...

}	
			setLastVoteCount(newVoteCount);
		}
		Collection<L2PcInstance> plss = L2World.getInstance().getAllPlayers();
		for (L2PcInstance player : plss)
		{
		player.sendPacket(new CreatureSay(1,Say2.PARTY,"Vote System :"," Help your server by voting now at  We need " + (getLastVoteCount()+ Config.VOTES_FOR_REWARD) + " Votes in HopZone for reward all players. At this moment we have " + newVoteCount + " Votes. )"));
		if (getLastVoteCount() == 0)
		{
			setLastVoteCount(newVoteCount);
		}

 

 

kai mou bgazei error sto

 

 

 

pws borw na to lisw auto?

3exasa na sou po import nomiza i3eres :P

 

+import java.util.Collection;

 

ama 8es tpt alo pes m ;)

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