Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 782 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 782 Bytes

Chat-Processor

A Sourcemod plugin which allows other plugins to add and manage chat related features.

Installation

Place the .smx into the plugins folder and the .cfg into the configs folder.

Usage

public Action CP_OnChatMessage(int& author, ArrayList recipients, char[] flagstring, char[] name, char[] message, bool& processcolors, bool& removecolors)
{
	Format(name, MAXLENGTH_NAME, "{red}%s", name);
	Format(message, MAXLENGTH_MESSAGE, "{blue}%s", message);
	return Plugin_Changed;
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL-3.0