cs_get_user_team

Синтаксис

native CsTeams:cs_get_user_team(index, &any:model = CS_DONTCHANGE);

Употреба

index
Client index
model
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.

Връщаща стойност

Team id

Грешка

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be
thrown.