Garry's Mod Wiki

game.StartSpot

  string game.StartSpot()

Description

Returns the name of the entity that should be used as player start position.

This is not the same thing as spawn points (See GM:PlayerSelectSpawn for that), this is used to properly transit the player between maps, and therefore will only be set after a level change via trigger_changelevel entity in singleplayer.

Returns

1 string
The name of the entity that should be used as start position.