native

get_user_info

Syntax

native get_user_info(index, const info[], output[], len);

Description

Gets info from the client.

Parameters

index Client index
info Info key
output Buffer to copy value to
len Maximum size of the buffer

Return

Number of cells written to buffer

Error

If the index is not within the range of 1 to MaxClients or
the client is not connected, an error will be thrown.