GetClientInfo Function

Retrieves values from client replicated keys.

bool GetClientInfo(int client, const char[] key, char[] value, int maxlen)

Parameters

int client

Player's index.

const char[] key

Key string.

char[] value

Buffer to store value.

int maxlen

Maximum length of valve (UTF-8 safe).

Return Value

True on success, false otherwise.

Errors

Invalid client index, or client not connected.