CS_SwitchTeam Function

Switches the player's team.

void CS_SwitchTeam(int client, int team)

Parameters

int client

Player's index.

int team

Team index.

Errors

Invalid client index, client not in game.