Jump to content
  • 0

[equest] vote reward system


Legend™

Question

looking for a freya vote system,i tied 1 or 2 from here, but i want one that the votes count is displayed on screen,and not as anannouncement,if someone knows of one plz point me to the corect topic

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Really simple.

 

You said displayed on screen, so i suppose you expect big text such as for example ExShowScreenMessage

 

So simply replace sending announcement with iterate sending ExShowScreenMessage packet for L2World players.

 

Something like:

 

for (L2PcInstance player: L2World.getInstance().getAllPlayers())
{
       player.sendPacket(new ExShowScreenMessage("TEXT", 5000);
}

 

Where 5000 is delay in ms, in this case it equals to 5 sec.

 

I could make syntax mistake, because it was written here, not by using eclipse, and i dont remember each code : )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...