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
BcStorm adding command help
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="Kyle" data-source="post: 182249" data-attributes="member: 225"><p>Hi, i'm coding the command :rape for a friend, and i'm almost there, i just can get the user to say "blah blah blah".</p><p> </p><p>The way i've done it is you type :rape [username]</p><p>I've got that all sorted i just need the user to say: *Help! I'm getting raped by [my username]*</p><p>And i also want the user whos doing the command to say: *[my username] starts raping [there username]*</p><p> </p><p>Here's my code:</p><p> </p><p>[code]</p><p>internal void rape()</p><p> {</p><p> GameClient clientByUsername = null;</p><p> clientByUsername = ButterflyEnvironment.GetGame().GetClientManager().GetClientByUsername(this.Params[1]);</p><p> if (clientByUsername != null)</p><p> {</p><p> if (clientByUsername.GetHabbo().Username != this.Session.GetHabbo().Username)</p><p> {</p><p> // You say *[my username] starts raping [there username]*</p><p> // They say *Help! I'm getting raped by [my username]*</p><p> }</p><p> else</p><p> {</p><p> this.Session.SendNotif("You cannot rape yourself!");</p><p> }</p><p> }</p><p> else</p><p> {</p><p> this.Session.SendNotif(LanguageLocale.GetValue("input.usernotfound"));</p><p> }</p><p> }</p><p>[/code]</p><p> </p><p>Thanks.</p></blockquote><p></p>
[QUOTE="Kyle, post: 182249, member: 225"] Hi, i'm coding the command :rape for a friend, and i'm almost there, i just can get the user to say "blah blah blah". The way i've done it is you type :rape [username] I've got that all sorted i just need the user to say: *Help! I'm getting raped by [my username]* And i also want the user whos doing the command to say: *[my username] starts raping [there username]* Here's my code: [code] internal void rape() { GameClient clientByUsername = null; clientByUsername = ButterflyEnvironment.GetGame().GetClientManager().GetClientByUsername(this.Params[1]); if (clientByUsername != null) { if (clientByUsername.GetHabbo().Username != this.Session.GetHabbo().Username) { // You say *[my username] starts raping [there username]* // They say *Help! I'm getting raped by [my username]* } else { this.Session.SendNotif("You cannot rape yourself!"); } } else { this.Session.SendNotif(LanguageLocale.GetValue("input.usernotfound")); } } [/code] Thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
BcStorm adding command help
Top