ShowActivity Function

Displays usage of an admin command to users depending on the setting of the sm_show_activity cvar.

This version does not display a message to the originating client if used from chat triggers or menus. If manual replies are used for these cases, then this function will suffice. Otherwise, ShowActivity2() is slightly more useful.

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


int client

Client index doing the action, or 0 for server.

const char[] format

Formatting rules.

any... ...

Variable number of format parameters.