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: 22ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 8