ShowActivity2 Function

Displays usage of an admin command to users depending on the setting of the sm_show_activity cvar. All users receive a message in their chat text, except for the originating client, who receives the message based on the current ReplySource.

void ShowActivity2(int client, const char[] tag, const char[] format, any... ...)

Parameters

int client

Client index doing the action, or 0 for server.

const char[] tag

Tag to prepend to the message.

const char[] format

Formatting rules.

any... ...

Variable number of format parameters.