Garry's Mod Wiki

Revision Difference

Player:AccountID#529605

<function name="AccountID" parent="Player" type="classfunc"> <description> Returns the player's AccountID. This is **NOT** the same as SteamID3, but is used to generate one. 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. In singleplayer, this will return no value. See <page>Player:SteamID</page> for the text representation of the full SteamID. ⤶ <warning>This does **not** include the Steam Universe and Account Type part of the SteamID, so it should not be used as a unique identifier of a steam user. Use <page>Player:SteamID64</page> for that instead.</warning>⤶ See <page>Player:SteamID64</page> 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.⤶ </description> <realm>Shared</realm> <rets> <ret name="" type="number">The AccountID of Player's SteamID.</ret> </rets> </function>