Garry's Mod Wiki

Revision Difference

Player:AccountID#544101

<function name="AccountID" parent="Player" type="classfunc"> <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 <page>Player:SteamID</page> for the text representation of the full SteamID. 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. ⤶ <bug>In a `-multirun` environment, this will return `no value` for all "copies" of a player.</bug>⤶ </description> <realm>Shared</realm> <rets> <ret name="" type="number">The AccountID of Player's SteamID.</ret> </rets> </function>