Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Reset Scoreboard - Command
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AlexstyleRetro" data-source="post: 450105" data-attributes="member: 78825"><p><strong>Hi Devbest,</strong></p><p></p><p>at the base of the command <strong>:unban x</strong> I created the command <strong>:resetboard </strong>for to reset the wired highscore.</p><p>I dwell on this part of the code:</p><p>[PHP]</p><p>using (IQueryAdapter dbClient = MoonEnvironment.GetDatabaseManager().GetQueryReactor())</p><p> {</p><p></p><p> dbClient.RunQuery("DELETE FROM `wired_scorebord` WHERE `roomid` = '" + Session.GetHabbo().CurrentRoomId + "'");</p><p>[/PHP]</p><p></p><p>The parameters are deleted correctly in the database but are still displayed in the display.</p><p><strong>In the display the parameters are deleted only when the emulator is restarted.</strong></p><p></p><p>How do I solve this problem?</p><p><strong>Thanks! <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></strong></p><p><strong>[USER=59038]@Altercationz[/USER] </strong></p></blockquote><p></p>
[QUOTE="AlexstyleRetro, post: 450105, member: 78825"] [B]Hi Devbest,[/B] at the base of the command [B]:unban x[/B] I created the command [B]:resetboard [/B]for to reset the wired highscore. I dwell on this part of the code: [PHP] using (IQueryAdapter dbClient = MoonEnvironment.GetDatabaseManager().GetQueryReactor()) { dbClient.RunQuery("DELETE FROM `wired_scorebord` WHERE `roomid` = '" + Session.GetHabbo().CurrentRoomId + "'"); [/PHP] The parameters are deleted correctly in the database but are still displayed in the display. [B]In the display the parameters are deleted only when the emulator is restarted.[/B] How do I solve this problem? [B]Thanks! :) [USER=59038]@Altercationz[/USER] [/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Reset Scoreboard - Command
Top