public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event) { RoomUser Current = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Session.GetHabbo().Id); RoomUser Target = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Event.PopWiredUInt()); if(Current != null && Target != null) { Current.Unidle(); Target.Unidle(); Target.CarryItem(Current.CarryItemID); Current.CarryItem(0); } }
public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event) { if (!Session.GetHabbo().HasFuse("acc_supporttool")) return; uint num = Event.PopWiredUInt(); string text = Event.PopFixedString(); int num2 = Event.PopWiredInt32(); Console.WriteLine(num + " " + text + " " + num2); string string_ = string.Concat(new object[] { "User: "******", Message: ", text, ", Time: ", num2 }); Essential.GetGame().GetModerationTool().MuteUser(Session, num, text, num2); Essential.GetGame().GetClientManager().StoreCommand(Session, "ModTool - Mute User", string_); }