Garry's Mod Wiki

team.GetSpawnPoints

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

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 13