Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetPlayer
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search

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