team.SetSpawnPoint

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

Contents

Description

Sets valid spawnpoint classes for use by a team.

NOTE

GM.TeamBased must be set to true for this to work

Arguments

number index

Index of the team

Arguments

any classes

A spawnpoint classname or table of spawnpoint classnames

Examples

Example

Allows TEAM_BLUE to spawn at terrorist spawn points

team.SetSpawnPoint( TEAM_BLUE, {"info_terror"} )


Personal tools
Navigation