Hi, I'm trying to edit some code in the emulator for my hotel. I wanted rank 4 to get the staff badge above their heads, so I made the emulator assign effect 102 to them and the staff-chatbubble. The same for the helpers, but then for the helper effect and the helper bubble.
After entering a room, I can't pick other bubbles with the button next to the type-column. :bubble does work.
This is the code I added in the RoomUserManager.cs
There are no errors in the logs and the emulator.
Does anybody know how to fix this?
Thanks!
After entering a room, I can't pick other bubbles with the button next to the type-column. :bubble does work.
This is the code I added in the RoomUserManager.cs
C#:
if (Session.GetHabbo().Rank.Equals(4))
{
Session.GetHabbo().Effects().ApplyEffect(102);
Session.GetHabbo().CustomBubbleId = 23;
}
if (Session.GetHabbo().Rank.Equals(3))
{
Session.GetHabbo().Effects().ApplyEffect(102);
Session.GetHabbo().CustomBubbleId = 23;
}
if (Session.GetHabbo().Rank.Equals(2))
{
Session.GetHabbo().Effects().ApplyEffect(178);
Session.GetHabbo().CustomBubbleId = 37;
}
There are no errors in the logs and the emulator.
Does anybody know how to fix this?
Thanks!