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 — выключено.
Когда включено, скрипт автоматически ставится на паузу при отключении и возобновляется при переподключении.
function GetPauseScriptOnDisconnectStatus: Boolean;
def GetPauseScriptOnDisconnectStatus() -> bool: ...
begin
if not GetPauseScriptOnDisconnectStatus then
SetPauseScriptOnDisconnectStatus(True);
end.
if not GetPauseScriptOnDisconnectStatus():
SetPauseScriptOnDisconnectStatus(True)