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: 72ms

DB GetPage 42
Generate Html 6
SaveChanges (1) 10
Render Body 0
Render Sidebar 12