Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetPauseScriptOnDisconnectStatus

Returns the status of the “Pause script on disconnect” setting: True if enabled, False if disabled.

When enabled, the script is automatically paused on disconnect and resumed when the character reconnects.

Возвращает состояние настройки «Пауза скрипта при отключении»: True — включено, False — выключено.

Когда включено, скрипт автоматически ставится на паузу при отключении и возобновляется при переподключении.

Pascal

function GetPauseScriptOnDisconnectStatus: Boolean;

Python

def GetPauseScriptOnDisconnectStatus() -> bool: ...

Pascal Example

begin
  if not GetPauseScriptOnDisconnectStatus then
    SetPauseScriptOnDisconnectStatus(True);
end.

Python Example

if not GetPauseScriptOnDisconnectStatus():
    SetPauseScriptOnDisconnectStatus(True)

See Also

SetPauseScriptOnDisconnectStatus