phantoml2 Posted March 20, 2017 Posted March 20, 2017 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
0 phantoml2 Posted March 21, 2017 Author Posted March 21, 2017 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?
0 Solomun Posted March 20, 2017 Posted March 20, 2017 (edited) 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 March 20, 2017 by Solomun
0 phantoml2 Posted March 20, 2017 Author Posted March 20, 2017 (edited) 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 March 20, 2017 by phantoml2
0 Solomun Posted March 20, 2017 Posted March 20, 2017 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?
0 phantoml2 Posted March 20, 2017 Author Posted March 20, 2017 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
0 Reborn12 Posted March 20, 2017 Posted March 20, 2017 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
0 phantoml2 Posted March 25, 2017 Author Posted March 25, 2017 (edited) Thanks to @Reborn12 solved Edited March 25, 2017 by phantoml2
Question
phantoml2
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
7 answers to this question
Recommended Posts