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 Releases
:bail <user> | V26 RP 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="LiveJam" data-source="post: 202559" data-attributes="member: 188"><p>Just to inform you, "string jailed;" should be "int jailed;"(Since you are dealing with integers[1,2,3, etc...] as opposed to Strings). Also, "<span style="font-family: 'Consolas'">dbClient.getString" should be "</span><span style="font-family: 'Consolas'">dbClient.getInt".</span></p><p> </p><p>PS. if you are saying "int <strong>Jailed</strong>", it must also be "if (<strong>Jailed</strong> == 1)".. In short, they must be the same. In your case you said "string <strong>jailed;</strong>"(should be "int jailed;") but then wrote "if (<strong>_Jailed</strong> == 1)" [they are not obviously the same, so just change it to be the same ^_^ and you will be good sir. Yay!] <span style="font-family: 'Consolas'">I didn't look at anything else because these were the first things i noticed.</span></p><p></p><p>Hope this command is useful to some of the peeps here.</p><p><span style="font-family: 'Consolas'">Cheers. o/</span></p></blockquote><p></p>
[QUOTE="LiveJam, post: 202559, member: 188"] Just to inform you, "string jailed;" should be "int jailed;"(Since you are dealing with integers[1,2,3, etc...] as opposed to Strings). Also, "[FONT=Consolas]dbClient.getString" should be "[/FONT][FONT=Consolas]dbClient.getInt".[/FONT] PS. if you are saying "int [B]Jailed[/B]", it must also be "if ([B]Jailed[/B] == 1)".. In short, they must be the same. In your case you said "string [B]jailed;[/B]"(should be "int jailed;") but then wrote "if ([B]_Jailed[/B] == 1)" [they are not obviously the same, so just change it to be the same ^_^ and you will be good sir. Yay!] [FONT=Consolas]I didn't look at anything else because these were the first things i noticed.[/FONT] [FONT=Consolas][/FONT] Hope this command is useful to some of the peeps here. [FONT=Consolas]Cheers. o/[/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
:bail <user> | V26 RP Command
Top