Skip to main content

SetAutoRespawnAfterDeath

Sets if players should be respawned automatically after dying (default: true). If you don't want the player to automatically respawn (for handling the respawn by yourself), you should use this method with false.

  • autoRespawnOn: parameter input should be in bool type

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