Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 774 Bytes

File metadata and controls

19 lines (15 loc) · 774 Bytes

Chat Processor

Our version of chat processor that allows other plugins to interact with the chat features. (Documentation)

Installation

You can install this plugin automatically using our ingame plugin manager (API) or via cloning this repository.

Dependencies

  • Eternar (API)

Usage

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;
}