Garry's Mod Wiki

team.SetSpawnPoint

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_terror"} )

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 13