Is it still not possible to customise the icon ?Solved

Is there a way to add a custom icon to the Autobroadcast messages, even if only by modifying a line in .cs or something? I don't want to change the icon for all messages with the Custom Icon, I just want to change the Autobroadcast icon.

Thanks!

It's always been possible, but you'd have to modify the plugin to do so as the methods used do not support icons.

Go0ePa8S2poB3OZ.jpg Wulf

It's always been possible, but you'd have to modify the plugin to do so as the methods used do not support icons.

And how can this be done? I'm a bit of a newbie, I understand some of the logic of the code and so on, but I don't know too much about the methods and hooks that exist. I should change something on line 79 where is using "player.Message(Lang(message.Key, player.Id))" ?

You'd basically have to replace:

player.Message(Lang(message.Key, player.Id));

With something like:

(player.Object as BasePlayer).SendConsoleCommand("chat.add", 2, CUSTOMIDHERE, Lang(message.Key, player.Id));
Go0ePa8S2poB3OZ.jpg Wulf

You'd basically have to replace:

player.Message(Lang(message.Key, player.Id));

With something like:

(player.Object as BasePlayer).SendConsoleCommand("chat.add", 2, CUSTOMIDHERE, Lang(message.Key, player.Id));

That works!! Many thanks 😃

Locked automatically