SetAutoSpawnOnConnect
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);