GetTeamName Function

Retrieves the team name based on a team index. Note: This native should not be called before OnMapStart.

void GetTeamName(int index, char[] name, int maxlength)

Parameters

int index

Team index.

char[] name

Buffer to store string in.

int maxlength

Maximum length of string buffer.

Errors

Invalid team index.