SetAutoSpawnOnConnect

From RAGE Multiplayer Wiki
Revision as of 10:35, 12 December 2019 by Bonus (talk | contribs) (Created page with "Sets if players should be spawned automatically on connect (default: true). {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Server.SetAutoSpawnOnCo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


C# Syntax

void NAPI.Server.SetAutoSpawnOnConnect(bool autoSpawnOn);

Parameters

  • autoSpawnOn: parameter input should be in bool type

Example

NAPI.Server.SetAutoSpawnOnConnect(false);