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

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
No edit summary
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

Revision as of 18:11, 17 March 2016

Note.pngNote: 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