SetAutoRespawnAfterDeath

From RAGE Multiplayer Wiki
Revision as of 10:33, 12 December 2019 by Bonus (talk | contribs) (Created page with "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),...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


C# Syntax

void NAPI.Server.SetAutoRespawnAfterDeath(bool autoRespawnOn);

Parameters

  • autoRespawnOn: parameter input should be in bool type

Example

NAPI.Server.SetAutoRespawnAfterDeath(false);