Garry's Mod Wiki

GM:PlayerSelectTeamSpawn

  Entity GM:PlayerSelectTeamSpawn( number team, Player ply )

Description

Find a team spawn point entity for this player.

Arguments

1 number team
Players team
2 Player ply
The player

Returns

1 Entity
The entity to use as a spawn point.