ChangeClientTeam Function

Changes a client's team through the mod's generic team changing function. On CS:S, this will kill the player.

void ChangeClientTeam(int client, int team)

Parameters

int client

Client index.

int team

Mod-specific team index.

Errors

Invalid client index, client not in game, or lack of mod support.