Skip to main content

SetAutoSpawnOnConnect

Sets if players should be spawned automatically on connect (default: true).

  • autoSpawnOn: parameter input should be in bool type

{{#tag:syntaxhighlight| Server.SetAutoSpawnOnConnect(false); |lang=csharp}} }}