Garry's Mod Wiki

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()))

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12