- Joined
- Aug 10, 2011
- Messages
- 7,399
- Reaction score
- 3,310
Re: RELEASE63-201405071257-197450526 - PlusR2
Add break after any case else it will continue with the next case.
case "a": doA(); break;
case "b": doB(); break;
Hi guys,
I'm trying to add some MUS functions from Gold Tree / Butterfly but I'm stumbling quite a bit. The two functions I want to add are signout and reloadbans.<br>Here's where I'm at with reloadbans:
Code:case "reloadbans": { using (IQueryAdapter dbClient = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor()) { SilverwaveEnvironment.GetGame().GetBanManager().LoadBans(dbClient); } return; }
Which prompts the emulator to show it successfully processed the MUS command when sent from HK but nothing client-side happens when a user is banned from HK.
Trust me, I'm not a coder. Any help is greatly appreciated.
Add break after any case else it will continue with the next case.
case "a": doA(); break;
case "b": doB(); break;