Changing chat icon?Solved
Hello,

I would like to personalize this plugin a tiny bit and was looking at the code for how to force the "Codelock placed with code: 1234" to be sent from specific steam id. Is this possible?

I figured this would need a bit of change to make it a SendReply or constructMsg() instead?
Player.ChatMessage(string.Format(lang.GetMessage("CodeAdded", this, Player.UserIDString), Player.net.connection.info.GetBool("global.streamermode") ? "****" : pCode.Code));​

Would appreciate all help
You cannot change the Steam ID from
Player.ChatMessage​();
you will have to change it to
Player.SendConsoleCommand("chat.add", steamid, message);​
5c29621a63f54.png birthdates
You cannot change the Steam ID from
Player.ChatMessage​();
you will have to change it to
Player.SendConsoleCommand("chat.add", steamid, message);​
I've understood that the SendConsoleCommand is needed for steam icons to be used but how would the code in this specific example look with SendConsoleCommand? 

Player.SendConsoleCommand("chat.add", steamid, (string.Format(lang.GetMessage("CodeAdded", this, Player.UserIDString), Player.net.connection.info.GetBool("global.streamermode") ? "****" : pCode.Code)));​​

Like that?

Merged post

What assemblyreference is SendConsoleCommand relying on? 
Locked automatically