ServerCommand Function

Executes a server command as if it were on the server console (or RCON)

void ServerCommand(const char[] format, any... ...)

Parameters

const char[] format

Formatting rules.

any... ...

Variable number of format parameters.