Player:SteamID64
Description
Returns the player's full 64-bit SteamID, also known as CommunityID. Information on how data is packed into this value can be found here.
See Player:AccountID for a function that returns only the Account ID part of the SteamID and Player:SteamID for the text version of the SteamID.
In a
-multirun
environment, this will return "0"
for all "copies" of a player because they are not authenticated with Steam.
For bots, this will return 90071996842377216
(equivalent to STEAM_0:0:0
) for the first bot to join.
For each additional bot, the number increases by 1. So the next bot will be 90071996842377217
(STEAM_0:1:0
) then 90071996842377218
(STEAM_0:0:1
) and so on.
Returns
1 string
Player's 64-bit SteamID aka CommunityID.
The return value is a string, not a number, since Lua's numbers are unable to store the entire 64bit numbers without data loss.