Garry's Mod Wiki

team.GetName

team.GetName

string team.GetName( number teamIndex )

Description

Returns the name of the team.

Arguments

1 number teamIndex
The team index.

Returns

1 string
The team name. If the team is not defined, returns an empty string.

Example

Returns the teams name as a string.

print(team.GetName(Entity(1):Team()))

Special Pages


Wikis

?

Render Time: 67ms

DB GetPage 49
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7