ReplyToCommand Function

Replies to a message in a command.

A client index of 0 will use PrintToServer(). If the command was from the console, PrintToConsole() is used. If the command was from chat, PrintToChat() is used.

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


int client

Client index, or 0 for server.

const char[] format

Formatting rules.

any... ...

Variable number of format parameters.


If the client is not connected or invalid.