Psych_O Posted September 23, 2011 Posted September 23, 2011 καλησπέρα παιδιά... θα ήθελα να φτιάξω ένα Java Code για το vote reward system έτσι ώστε να κάνει announce έτσι: Vote Reward: We need bla bla bla Θα ήθελα να μου πείτε πως μπορώ να το φτιάξω έτσι.... PS:Client Freya Ευχαριστώ
0 vl4d Posted September 27, 2011 Posted September 27, 2011 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 ;)
0 Psych_O Posted September 27, 2011 Author Posted September 27, 2011 to problima li8ike.... topic locked
Question
Psych_O
καλησπέρα παιδιά... θα ήθελα να φτιάξω ένα Java Code για το vote reward system έτσι ώστε να κάνει announce έτσι:
Vote Reward: We need bla bla bla
Θα ήθελα να μου πείτε πως μπορώ να το φτιάξω έτσι....
PS:Client Freya
Ευχαριστώ
17 answers to this question
Recommended Posts