Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 133:
- {
- if (!Session.GetHabbo().HasFuse("cmd_roomalert"))
- {
- return false;
- }
- class2 = GoldTree.GetGame().GetRoomManager().GetRoom(TargetClient.GetHabbo().CurrentRoomId);
- if (class2 == null)
- {
- GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
- return true;
- }
- string video = ChatCommandHandler.MergeParams(Params, 1);
- for (int i = 0; i < class2.RoomUsers.Length; i++)
- {
- RoomUser class6 = class2.RoomUsers[i];
- if (class6 != null)
- {
- try { GoldTree.GetWebSocketManager().getWebSocketByName(class6.GetClient().GetHabbo().Username).Send("31|" + i + "|" + "https://youtube.com/watch?v=" + video); }
- catch { }
- }
- }
- GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement