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
Energy on RP
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="Explote" data-source="post: 329292" data-attributes="member: 3181"><p>Using this RP emulator, very new to coding etc. When you shoot using the command, everytime its supposed to take 2 energy each shot but doesnt.</p><p></p><p>This is the code for it:</p><p></p><p>[CODE]Instance.BroadcastMessage(RoomChatComposer.Compose(Actor.Id, "*Shoots " + Username + " with their G3 causing " + HitPoint + " damage! [-2e]*", 0, ChatType.Shout));</p><p> Instance.BroadcastMessage(RoomChatComposer.Compose(TargetActor.Id, "[" + Target.Health + "/100]", 0, ChatType.Shout));</p><p> Session.CharacterInfo.UpdateScore(MySqlClient, +reward);</p><p> Session.CharacterInfo.UpdateWantedLVL(MySqlClient, 1);</p><p> Session.CharacterInfo.UpdateEnergy(MySqlClient, -2);[/CODE]</p><p></p><p>Anyone have any idea? please and thanks</p></blockquote><p></p>
[QUOTE="Explote, post: 329292, member: 3181"] Using this RP emulator, very new to coding etc. When you shoot using the command, everytime its supposed to take 2 energy each shot but doesnt. This is the code for it: [CODE]Instance.BroadcastMessage(RoomChatComposer.Compose(Actor.Id, "*Shoots " + Username + " with their G3 causing " + HitPoint + " damage! [-2e]*", 0, ChatType.Shout)); Instance.BroadcastMessage(RoomChatComposer.Compose(TargetActor.Id, "[" + Target.Health + "/100]", 0, ChatType.Shout)); Session.CharacterInfo.UpdateScore(MySqlClient, +reward); Session.CharacterInfo.UpdateWantedLVL(MySqlClient, 1); Session.CharacterInfo.UpdateEnergy(MySqlClient, -2);[/CODE] Anyone have any idea? please and thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Energy on RP
Top