get_user_team

Синтаксис

native get_user_team(index, team[] = "", len = 0);

Употреба

index
Client index
team
Buffer to copy team name to
len
Maximum size of buffer

Описание

Returns the team id of the client, and optionally retrieves the name of
the team.

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

Team index on success, -1 if client index is invalid or
the client is not connected