Twister
New Member
- May 24, 2015
- 29
- 1
Hello, I'm french so I'm sorry for my English.
I wanted to put a color for staff pseudo on my retroserveur. But I have a problem because, there are a HTML code before the username.
Code on RoomUser.cs
if (GetClient().GetHabbo().Rank == 7)
{
string Username = "<font color='#D900D9'>[G] " + GetClient().GetHabbo().Username + "</font>";
if (GetRoom() != null)
GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Username));
}
if (GetClient().GetHabbo().Rank == 6)
{
Like this:
Thanks you for your help
UP
I wanted to put a color for staff pseudo on my retroserveur. But I have a problem because, there are a HTML code before the username.
Code on RoomUser.cs
if (GetClient().GetHabbo().Rank == 7)
{
string Username = "<font color='#D900D9'>[G] " + GetClient().GetHabbo().Username + "</font>";
if (GetRoom() != null)
GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Username));
}
if (GetClient().GetHabbo().Rank == 6)
{
Like this:
Thanks you for your help
UP