Jump to content
  • 0

[Help]Casino Manager


phantoml2

Question

i use this code http://www.maxcheaters.com/topic/127497-casinomanagerpasswordchanger/
how can i make when a player wins it announces to chat in announcements

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

you must save to a map all looser rewards and give a chance to someone to win these then you have to clear your map and starting again from 0 jackpot

can you help me to do it or share it?

Link to comment
Share on other sites

  • 0

public static void displayCongrats(L2PcInstance player)
{
       player.broadcastPacket(new SocialAction(player.getObjectId(), 3));
       player.sendMessage("Congratulations You Won!");

+     Announcements.getInstance().announceToAll(player.getName()+ "has won the casino.");

}

Edited by Solomun
Link to comment
Share on other sites

  • 0

public static void displayCongrats(L2PcInstance player)

{

       player.broadcastPacket(new SocialAction(player.getObjectId(), 3));

       player.sendMessage("Congratulations You Won!");

+     Announcements.getInstance().announceToAll(player.getName()+ "has won the casino.");

}

ty i will test and tell you

is there any way when a player play casino and lose casino keep the ammount of loser and 1 player get a chance to win all the losers's ammount?

 

ty for fast reply again

Edited by phantoml2
Link to comment
Share on other sites

  • 0

ty i will test and tell you

is there any way when a player play casino and lose casino keep the ammount of loser and 1 player get a chance to win all the losers's ammount?

 

ty for fast reply again

 

To make this straight, because i can't understand exactly what you want...Lets say 5 players loose casino, 10 adena each, total 5x10=50 adena. The next guy who wins gets 50 adena?

Link to comment
Share on other sites

  • 0

To make this straight, because i can't understand exactly what you want...Lets say 5 players loose casino, 10 adena each, total 5x10=50 adena. The next guy who wins gets 50 adena?

yes but he must be the lucker at the casino must write jackpot 50 and the guy who plays must have chance to win the jackpot but he can still win the normal reward or lose of course

Link to comment
Share on other sites

  • 0

you must save to a map all looser rewards and give a chance to someone to win these then you have to clear your map and starting again from 0 jackpot

Link to comment
Share on other sites

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