CC_ShowActivity

Синтаксис

stock CC_ShowActivity(id, const szName[], const szInput[], any:...)

Употреба

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

Описание

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

Забележка

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.

Забележка

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.

Връщаща стойност

Тази функция няма връщаща стойност.