Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetPlayer

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 06:03, 11 August 2014 by Opcon (talk | contribs)

Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

handle GetPlayer(int id)

id is the index of the player in a zero-based array. Many events that contain the index of the player use a one-based array. This will cause bugs unless accounted for appropriately.


Parameters

Type Name Description
int a No Description Set

Returns

handle - No Description Set