if (!Room.CheckRights(Session, true) || !Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items"))
return;
if (!Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items"))
return;
I believe it's in RoomItemSaveBrandingItems.cs (I think - haven't looked in a while).
Replace:
With:Code:if (!Room.CheckRights(Session, true) || !Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items")) return;
Then just edit it in the permissions table.Code:if (!Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items")) return;
Yeah, you see, RoomItemSaveBrandingItems.cs isn't there.I believe it's in RoomItemSaveBrandingItems.cs (I think - haven't looked in a while).
Replace:
With:Code:if (!Room.CheckRights(Session, true) || !Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items")) return;
Then just edit it in the permissions table.Code:if (!Session.GetHabbo().GetPermissions().HasRight("room_item_save_branding_items")) return;
Ok, now that I have replaced it in Visual Studio, What do you mean by add it into permission table in the database. Sorry for the disturbance, btw.Uh, replace the code snippet I pasted above and then add it into your permissions table in the database. You can then edit which rank can use and save room ads. Make sure you're opening the .cs files with Visual Studio and building the project when you've made changes to see it in client.
Uh, Would you be okay if we did Join.me?I believe you would add "room_item_save_branding_items" and then set it to the specific rank then update the permissions in game. Sorry, I've only used R1 so I hope this helps.