Garry's Mod Wiki

Player:AccountID

Player:AccountID

number Player:AccountID()

Description

Returns the player's AccountID aka SteamID3. ([U:1:AccountID])

For bots this will return values starting with 0 for the first bot, 1 for the second bot and so on.

See Player:SteamID for the text representation of the full SteamID. See Player:SteamID64 for a 64bit representation of the full SteamID.

Unlike other variations of SteamID, SteamID3 does not include the "Account Type" and "Account Instance" part of the SteamID.

In a -multirun environment, this will return no value for all "copies" of a player because they are not authenticated with Steam.

Returns

1 number
The AccountID of Player's SteamID.

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 49
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6