Перейти к содержанию

SetAutoSpawnOnConnect

Материал из RAGE MP Wiki Archive

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


void NAPI.Server.SetAutoSpawnOnConnect(bool autoSpawnOn);

Parameters

  • autoSpawnOn: parameter input should be in bool type

Example

<syntaxhighlight lang="csharp"> NAPI.Server.SetAutoSpawnOnConnect(false); </syntaxhighlight>