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

DB GetPage 5
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 7