team.GetName

From Garry's Mod
Jump to: navigation, search
 team.GetName( )

Contents

Description

Returns the name of the team.

Arguments

number teamIndex

The team index.

Returns

string

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

Examples

Example

Get's the teams string name.

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


Personal tools
Navigation