Garry's Mod Wiki

Garry's Mod Wiki

  team.SetSpawnPoint( number index, any classes )

Description

Sets valid spawnpoint classes for use by a team.

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

Arguments

1 number index
Index of the team
2 any classes
A spawnpoint classname or table of spawnpoint classnames

Example

Allows TEAM_BLUE to spawn at terrorist spawn points

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...