Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 3
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 12