Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetSteamID
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Function Description
unsigned GetSteamID( int iPlayerID )
Return player's steamID64
Parameters
Type | Name | Description |
---|---|---|
int | iPlayerID | No Description Set |
Returns
unsigned - userdata
Notes
If you need to handle the 64 bit SteamID in Lua, it may be helpful to convert it to a string with:
local steamId64 = tostring(PlayerResource:GetSteamID(PlayerID))
More information about the SteamID can be found here: