native CsTeams:cs_get_user_team(index, &any:model = CS_DONTCHANGE);
Optional variable to store model id in
Returns the client's team and optionally the model id.
For a list of valid team ids see the CsTeams enum, and for a list of valid internal model ids see the CsInternalModel enum.
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.