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
I get this error everytime I try to add commands. Helpp
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="Stevee" data-source="post: 131455" data-attributes="member: 2643"><p>Also the command that we're trying to use for the testing purposes is the revive command that was posted in this<a href="http://devbest.com/threads/rp-commands.706/" target="_blank"> thread</a></p><p>[CODE]#region :revive</p><p> case "revive":</p><p> {</p><p> if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)</p><p> return false;</p><p> else</p><p> {</p><p> string Dead;</p><p> Dead = DB.runRead("SELECT dead FROM users WHERE name = '" + _Username + "'");</p><p> if (Dead == "1")</p><p> {</p><p> DB.runQuery("UPDATE users SET dead = '0', time_dead = '0' WHERE name = '" + _Username + "'");</p><p> Room.sendSaying(roomUser, "*regains conciousness*");</p><p> roomUser.walkLock = false; // Freezes the user</p><p> TestRefresh(_Username);</p><p> deadLooper.Abort();</p><p> deadLooper = null;</p><p> </p><p> }</p><p> }</p><p> break;</p><p> }</p><p> #endregion[/CODE]</p><p> </p><p>That's the code if you can't see the thread.</p></blockquote><p></p>
[QUOTE="Stevee, post: 131455, member: 2643"] Also the command that we're trying to use for the testing purposes is the revive command that was posted in this[URL='http://devbest.com/threads/rp-commands.706/'] thread[/URL] [CODE]#region :revive case "revive": { if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false) return false; else { string Dead; Dead = DB.runRead("SELECT dead FROM users WHERE name = '" + _Username + "'"); if (Dead == "1") { DB.runQuery("UPDATE users SET dead = '0', time_dead = '0' WHERE name = '" + _Username + "'"); Room.sendSaying(roomUser, "*regains conciousness*"); roomUser.walkLock = false; // Freezes the user TestRefresh(_Username); deadLooper.Abort(); deadLooper = null; } } break; } #endregion[/CODE] That's the code if you can't see the thread. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
I get this error everytime I try to add commands. Helpp
Top