Garry's Mod Wiki

Garry's Mod Wiki

  table team.GetSpawnPoints( number index )

Description

Returns a table of valid spawnpoint entities the team can use. These are set with team.SetSpawnPoint.

Arguments

1 number index
Index of the team

Returns

1 table
Valid spawnpoint entities

Example

Prints a random spawnpoint entity for TEAM_RED

Output: Spawnpoint Entity

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