SetFakeClientConVar Function

Sets a convar value on a fake client.

void SetFakeClientConVar(int client, const char[] cvar, const char[] value)

Parameters

int client

Client index.

const char[] cvar

ConVar name.

const char[] value

ConVar value.

Errors

Invalid client index, client not connected, or client not a fake client.