team.SetUp

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

Contents

Description

Creates a new team.

Arguments

number teamIndex

The team index.

Arguments

string teamName

The team name.

Arguments

table teamColor

The team color. Uses the Color structure.

Arguments

boolean isJoinable=true

Whether the team is joinable or not.

Examples

Example

Create team 2 with name "Mingebags" and color red

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


Personal tools
Navigation