Garry's Mod Wiki

team.SetUp

team.SetUp

team.SetUp( number teamIndex, string teamName, table teamColor, boolean isJoinable = true )

Description

Creates a new team.

Arguments

1 number teamIndex
The team index.
2 string teamName
The team name.
3 table teamColor
The team color. Uses the Color.
4 boolean isJoinable = true
Whether the team is joinable or not.

Example

Create team 2 with name "Mingebags" and color red

team.SetUp(2, "Mingebags", Color(255, 0, 0))

Special Pages


Wikis

?

Render Time: 44ms

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