Dota 2 Workshop Tools/Scripting/API/CDOTAPlayer.GetPlayerID
< Dota 2 Workshop Tools | Scripting | API

Function Description
int GetPlayerID()
Get the player's official PlayerID; notably is -1 when the player isn't yet on a team.
Returns
int - No Description Set