Adds TF2_SetClientTeam to provide symmetry to TF2_GetClientTeam

Also remove some trailing whitespace
This commit is contained in:
Wliu 2015-02-20 21:23:27 -05:00
parent 7e8d4b89ca
commit 58d94c2827

View File

@ -330,6 +330,19 @@ stock TFTeam:TF2_GetClientTeam(client)
return TFTeam:GetClientTeam(client);
}
/**
* Sets a client's current team.
*
* @param client Client index.
* @param team TFTeam team symbol.
* @noreturn
* @error Invalid client index.
*/
stock TFTeam:TF2_SetClientTeam(client, team)
{
ChangeClientTeam(client, _:team);
}
/**
* Gets a client's current class.
*