Garry's Mod Wiki

navmesh.SetPlayerSpawnName

  navmesh.SetPlayerSpawnName( string spawnPointClass )

Description

Sets the classname of the default spawn point entity, used before generating a new navmesh with navmesh.BeginGeneration.

Arguments

1 string spawnPointClass
The classname of what the player uses to spawn, automatically adds it to the walkable positions during map generation.