In the RustPlugin I could use:
private void Message(BasePlayer player, string message)
{
Player.Message(player, message, id);
}and it worked and the icon was of a given id.
In CovalencePlugin I tried:
private void TestCommand(IPlayer player, string command, string[] args)
{
object[] ss = new object[1];
ss[0] = 76561198091434721;
player.Reply(command, "test", ss);
object[] ss2 = new object[2];
ss2[0] = null;
ss2[1] = 76561198091434721;
player.Reply("test", "test2", ss2);
player.Message("test", "pre", null, "76561198091434721");
}but none of this work.
How can I achieve chat avatar in Covalence?