Difference between revisions of "Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCustomTeamAssignment"

From Valve Developer Community
Jump to: navigation, search
(Dota_Lebot push: Updated Page)
 
 
Line 6: Line 6:
  
  
''' void SetCustomTeamAssignment(int ''playerIndex'', int ''teamToJoin'') '''
+
''' 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
| playerIndex
+
| playerid
| player index
+
| player id
 
|-
 
|-
 
| int
 
| int

Latest revision as of 01:11, 18 March 2016

Note: This page is automatically generated. Any changes may be overwritten

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