GetPauseScriptOnDisconnectStatus
Returns status of the “Pause script on disconnect” checkbox.
If enabled - means script will be paused when disconnected, and resumed when char connected again.
Related function: SetPauseScriptOnDisconnectStatus
Pascal
function GetPauseScriptOnDisconnectStatus : Boolean;
Python
def GetPauseScriptOnDisconnectStatus() -> bool
Example Pascal
program test;
begin
if not GetPauseScriptOnDisconnectStatus then
SetPauseScriptOnDisconnectStatus(True);
end.