Skip to main content

SetDefaultSpawnLocation

Sets the default spawn location (e.g. on autorespawn).

  • location: parameter input should be in Vector3 type
  • heading: parameter input should be in float type

{{#tag:syntaxhighlight| Server.SetDefaultSpawnLocation(new Vector3(0, 100, 100), 180); |lang=csharp}} }}