Our version of chat processor that allows other plugins to interact with the chat features. (Documentation)
You can install this plugin automatically using our ingame plugin manager (API) or via cloning this repository.
- Eternar (API)
public Action ECP_OnChatMessage(int& author, ArrayList recipients, char[] flagstring, char[] name, char[] message, bool& processcolors, bool& removecolors)
{
Format(name, MAX_MESSAGE_LENGTH, "{red}%s", name);
Format(message, MAX_MESSAGE_LENGTH, "{blue}%s", message);
return Plugin_Changed;
}