Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetOriginalLobbyTeam: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' int GetOriginalLobbyTeam(int '' | ''' int GetOriginalLobbyTeam(int ''iPlayerID'') ''' | ||
'' | ''The team this player was originally assigned in the lobby. DOTA_TEAM_NOTEAM if no lobby info.'' | ||
Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
function CDOTA_PlayerResource:GetOriginalLobbyTeam( iPlayerID ) end | |||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
Line 23: | Line 23: | ||
|- | |- | ||
| int | | int | ||
| | | iPlayerID | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Line 29: | Line 29: | ||
== Returns == | == Returns == | ||
''int'' - | ''int'' - No Description Set |
Revision as of 23:38, 18 June 2015

Function Description
int GetOriginalLobbyTeam(int iPlayerID)
The team this player was originally assigned in the lobby. DOTA_TEAM_NOTEAM if no lobby info.
- Example
function CDOTA_PlayerResource:GetOriginalLobbyTeam( iPlayerID ) end
Parameters
Type | Name | Description |
---|---|---|
int | iPlayerID | No Description Set |
Returns
int - No Description Set