Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCustomTeamAssignment: 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: | ||
''' void SetCustomTeamAssignment(int '' | ''' void SetCustomTeamAssignment(int ''playerid'', int ''teamToJoin'') ''' | ||
''Sets the team that the player should join'' | ''Sets the team that the player should join'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| int | | int | ||
| | | playerid | ||
| player | | player id | ||
|- | |- | ||
| int | | int |
Revision as of 18:11, 17 March 2016

Function Description
void SetCustomTeamAssignment(int playerid, int teamToJoin)
Sets the team that the player should join
Parameters
Type | Name | Description |
---|---|---|
int | playerid | player id |
int | teamToJoin | team that the player should join |