GetClientAuthId

Last Updated2014-09-03
Created At2014-09-03

Retrieves a client's authentication string (SteamID).

native bool GetClientAuthId(int client, AuthIdType authType, char[] auth, int maxlen, bool validate = true)

Parameters

int client
Player index.
AuthIdType authType
Auth id type and format to use.
char[] auth
Buffer to store the client's auth id.
int maxlen
Maximum length of string buffer (includes NULL terminator).
bool validate
Check backend validation status. DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES, You WILL KNOW if you need to use this, MOST WILL NOT.

Return Value

bool True on success, false otherwise.

Error

If the client is not connected or the index is invalid.