Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetPlayer: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
No edit summary |
||
Line 6: | Line 6: | ||
''' handle GetPlayer(int '' | ''' 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.'' | ||
Revision as of 23:03, 10 August 2014

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