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
Plus Emu Room Problem
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="Zodiak" data-source="post: 368366" data-attributes="member: 9300"><p>It's probably ejecting, not picking up. Basically meaning a user with rights has the option to "eject" the furniture back into the furniture owners inventory, can't remember tbh. Think it's the same on Habbo too.</p><p>[doublepost=1456413895,1456413721][/doublepost]PickupObject.cs</p><p>[CODE]Boolean ItemRights = false;</p><p> if (Item.UserID == Session.GetHabbo().Id || Room.CheckRights(Session, false))</p><p> ItemRights = true;</p><p> else if (Room.Group != null && Room.CheckRights(Session, false, true))//Room has a group, this user has group rights.</p><p> ItemRights = true;</p><p> else if (Session.GetHabbo().GetPermissions().HasRight("room_item_take"))</p><p> ItemRights = true;[/CODE]</p><p></p><p>If you want to get rid of item ejection just change that to</p><p>[CODE]if(item.UserID == Session.GetHabbo().Id || (Session.GetHabbo().GetPermissions().HasRight("room_item_take")))</p><p>ItemRights = true;[/CODE]</p><p>and remove the rest.</p><p>(Removing item ejection is pointless IMO).</p></blockquote><p></p>
[QUOTE="Zodiak, post: 368366, member: 9300"] It's probably ejecting, not picking up. Basically meaning a user with rights has the option to "eject" the furniture back into the furniture owners inventory, can't remember tbh. Think it's the same on Habbo too. [doublepost=1456413895,1456413721][/doublepost]PickupObject.cs [CODE]Boolean ItemRights = false; if (Item.UserID == Session.GetHabbo().Id || Room.CheckRights(Session, false)) ItemRights = true; else if (Room.Group != null && Room.CheckRights(Session, false, true))//Room has a group, this user has group rights. ItemRights = true; else if (Session.GetHabbo().GetPermissions().HasRight("room_item_take")) ItemRights = true;[/CODE] If you want to get rid of item ejection just change that to [CODE]if(item.UserID == Session.GetHabbo().Id || (Session.GetHabbo().GetPermissions().HasRight("room_item_take"))) ItemRights = true;[/CODE] and remove the rest. (Removing item ejection is pointless IMO). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Plus Emu Room Problem
Top