SendConVarValue Function

Replicates a convar value to a specific client. This does not change the actual convar value.

bool SendConVarValue(int client, Handle convar, const char[] value)

Parameters

int client

Client index

Handle convar

ConVar handle

const char[] value

String value to send

Return Value

True on success, false on failure

Errors

Invalid client index, client not in game, or client is fake