Skip to content

GetPlayerSteamId

The player’s Steam ID, as their game reports it.

The SteamID64 ("76561198...", a string: the number is too long for a Lua number) of the Steam account their game runs under - a name to show, a profile to link, a list to check. Their game’s word, not proven: a modified game can send anyone’s, so it is no password (GetPlayerUid is the id a player cannot fake). "" when their game is not on Steam (the Microsoft Store’s) or the player keeps it to themselves.

GetPlayerSteamId(pid)
Parameter Type
pid number the player

string - the SteamID64; "" when none

Log(GetPlayerName(pid) .. " https://steamcommunity.com/profiles/" .. GetPlayerSteamId(pid))

GetPlayerUid · GetPlayerName · GetPlayerHwid · the Players group of the index