Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Color Name Tchat - [PlusEMU]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Twister" data-source="post: 403780" data-attributes="member: 59638"><p>Hello, I'm french so I'm sorry for my English.</p><p>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.</p><p>Code on RoomUser.cs</p><p> if (GetClient().GetHabbo().Rank == 7)</p><p> {</p><p> string Username = "<font color='#D900D9'>[G] " + GetClient().GetHabbo().Username + "</font>";</p><p> if (GetRoom() != null)</p><p> GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Username));</p><p> }</p><p></p><p> if (GetClient().GetHabbo().Rank == 6)</p><p> {</p><p>Like this:</p><p><img src="http://image.prntscr.com/image/ffbb8c0aef07447fa89b9cfebb6d494a.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>Thanks you for your help <img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" /></p><p>[doublepost=1489578435,1489513978][/doublepost]UP</p></blockquote><p></p>
[QUOTE="Twister, post: 403780, member: 59638"] 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: [IMG]http://image.prntscr.com/image/ffbb8c0aef07447fa89b9cfebb6d494a.png[/IMG] Thanks you for your help :p [doublepost=1489578435,1489513978][/doublepost]UP [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Color Name Tchat - [PlusEMU]
Top