Code tags displaying on 1 line

Results 1 to 1 of 1
  1. #1
    https://zaphotel.net/ Jonteh is offline
    GammaRank
    Apr 2007 Join Date
    New ZealandLocation
    3,379Posts

    Code tags displaying on 1 line


    RaGEZONE Recommends

    RaGEZONE Recommends

    Hi

    Code tags are all displaying on 1 line

    Example:

    Code:
    public void AlterChatName(bool Normal = false)        {            if (GetRoom() == null || GetClient() == null || IsPet || IsBot)                return;            Habbo Habbo = GetClient().GetHabbo();            if (Habbo == null)                return;            if (Normal)            {                GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Habbo.Username), false, true);            }            else            {                               string Hex = string.Empty;                string Html = string.Empty;                if (Habbo.Rank > 1)                {                    switch (Habbo.Rank)                    {                        case 2:                        case 3:                            {                                Hex = "#006400";                                break;                            }                        case 4:                        case 5:                            {                                Hex = "#FF0000";                                break;                            }                        case 6:                            {                                Hex = "#FF748C";                                break;                            }                        default:                            return;                    }                }                else if (Habbo.VIPRank > 0)                {                    switch (Habbo.VIPRank)                    {                        case 1:                            {                                Hex = "#cd7f32";                                break;                            }                        case 2:                            {                                Hex = "#C0C0C0";                                break;                            }                        case 3:                            {                                Hex = "#D4AF37";                                break;                            }                        default:                            return;                    }                }                if (!string.IsNullOrEmpty(Hex))                {                    Html = "<font color='" + Hex + "'>" + Habbo.Username + "</font>";                    GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Html), false, true);                }            }        }
    Jonteh
    Habbo Retro Developer

    HabboFiles | Zap Hotel





Advertisement