Brad
Well-Known Member
Fly Command fix!
Add this to chatcommandhandler.cs
Welcome message fix
search if (userData.user.HasFuse("fuse_mod")) in gameclient.cs
Replace with
And add this in your emulator config
thanks!
Add this to chatcommandhandler.cs
PHP:
#region Fly (:fly)
case "fly":
{
if (Session.GetHabbo().HasCmd("fly"))
{
Room currentRoom = Session.GetHabbo().CurrentRoom;
RoomUser roomUserByHabbo = null;
currentRoom = HabboEmulatorEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (currentRoom != null)
{
roomUserByHabbo = currentRoom.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomUserByHabbo != null)
{
roomUserByHabbo.isFlying = true;
}
}
}
return true;
}
#endregion
Welcome message fix
search if (userData.user.HasFuse("fuse_mod")) in gameclient.cs
Replace with
PHP:
if (userData.user.HasFuse("fuse_mod"))
{
response.appendResponse(HabboEmulatorEnvironment.GetGame().GetModerationTool().SerializeTool());
HabboEmulatorEnvironment.GetGame().GetModerationTool().SerializeOpenTickets(ref response, userData.userID);
}
response.sendResponse();
SendBroadcastMessage((HabboEmulatorEnvironment.GetConfig().data["welcome_message"] + "\n\n "));
return true;
}
Code:
## Welcome Message
welcome_message=Welcome to Hebbo! We will be adding new furniture everyday!