LogAction Function

Logs an action from a command or event whereby interception and routing may be important. This is intended to be a logging version of ShowActivity().

void LogAction(int client, int target, const char[] message, any... ...)

Parameters

int client

Client performing the action, 0 for server, or -1 if not applicable.

int target

Client being targetted, or -1 if not applicable.

const char[] message

Message format.

any... ...

Message formatting parameters.