Hi I've done a trading notification but need help with making only staff members, room owners, and myself who made the trade start and the person i'm trading with get this message.
Here is the code:
Here is the code:
RoomUser TargetUser = Room.GetRoomUserManager().GetRoomUserByVirtualId(Packet.PopInt());
Room.SendMessage(new ShoutComposer(User.VirtualId, "Startar ett byte av möbler med: " + TargetUser.GetUsername() + " ", 0, User.LastBubble));
if (TargetUser == null || TargetUser.GetClient() == null || TargetUser.GetClient().GetHabbo() == null)
return;