AMX Mod X API Documentation

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

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

the team.

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

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

the client is not connected

Назад
Верх