CC_ShowActivity

Syntax

stock CC_ShowActivity(id, const name[], const input[], any:...)

Usage

id
Client index performing the action
name
Name of client performing the action
input
Formatting rules
...
Variable number of formatting parameters

Description

Sends a colored chat message to all players that obeys the amx_show_activity cvar.

Note

This function is made to mimic the show_activity() function, but sends a
colored chat message instead using the CC_SendMessage() function. This means
that the default AMXX function can directly be replaced with this one in order
for it to display a colored chat message rather than a default one.

Note

By default, cromchat.inc will replace all show_activity() functions in the file
with the CC_ShowActivity() function. You can disable this feature by adding
#define CC_DONT_OVERWRITE_ACTIVITY before #include <cromchat> in your plugin.

Return

This function has no return value.