Hello!
I need trade chat in Better Chat plugin. When somebody say "@ Sell 30 wheels for c4" this will be in blue color.
Why it is not working?
Code:bool OnPlayerChat(PlayerSession player, string message, bool isClanMsg = false) { if (message.StartsWith("@")) { titles.Add("[Trade]", "#C4FF00"); playerData["Formatting"] = "{Title} {Name}<color={TextColor}>:</color> {Message}"; playerData["ConsoleFormatting"] = "{Title} {Name}: {Message}"; }
Trade Chat with special color
Discussion in 'Hurtworld Development' started by »»KERY, Mar 9, 2016.