Garry's Mod Wiki

Revision Difference

Player:AccountID#529602

<function name="AccountID" parent="Player" type="classfunc"> <description> Returns the player's AccountID aka SteamID3. Returns the player's AccountID. This is **NOT** the same as SteamID3, but is used to generate one. 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>⤶ </description> <realm>Shared</realm> <rets> <ret name="" type="number">Player's SteamID3 aka AccountID.</ret> <ret name="" type="number">The AccountID of Player's SteamID.</ret> </rets> </function>