SetClientInfo Function

Sets values to client info buffer keys and notifies the engine of the change. The change does not get propagated to mods until the next frame.

void SetClientInfo(int client, const char[] key, const char[] value)

Parameters

int client

Player's index.

const char[] key

Key string.

const char[] value

Value string.

Errors

Invalid client index, or client not connected.