GetSteamAccountID

Last Updated2017-08-12
Created At2013-03-17

Returns the client's Steam account ID, a number uniquely identifying a given Steam account. This number is the basis for the various display SteamID forms, see the AuthIdType enum for examples.

native int GetSteamAccountID(int client, bool validate = true)

Parameters

int client
Client Index.
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

int Steam account ID or 0 if not available.

Error

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