CC_ShowActivityKey

Syntax

stock CC_ShowActivityKey(const without[], const with[], const name[], any:...)

Usage

without
The language key that does not have the name field
with
The language key that does have the name field
name
The name of the person doing the action
...
Pass any extra format arguments for the language key in the variable arguments list

Description

Sends a colored chat message to all clients using nromal language keys that obeys the amx_show_activity cvar.

Note

This function is made to mimic the show_activity_key() 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_key() functions in the file
with the CC_ShowActivityKey() 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.