FakeClientCommandEx Function

Executes a client command on the server without being networked. The execution of the client command is delayed by one frame to prevent any re-entrancy issues that might surface with FakeClientCommand().

void FakeClientCommandEx(int client, const char[] fmt, any ...)

Parameters

int client

Index of the client.

const char[] fmt

Format of the client command.

any ...

Format parameters

Errors

Invalid client index, or client not connected.