Adds TF2_SetClientTeam to provide symmetry to TF2_GetClientTeam
Also remove some trailing whitespace
This commit is contained in:
parent
7e8d4b89ca
commit
58d94c2827
@ -330,6 +330,19 @@ stock TFTeam:TF2_GetClientTeam(client)
|
|||||||
return TFTeam: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.
|
* Gets a client's current class.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user