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

Dead

Returns True if the character is dead, False otherwise.

Returns False if the character is disconnected.

Возвращает True, если персонаж мёртв, False в противном случае.

Возвращает False, если персонаж не подключён.

Pascal

function Dead: Boolean;

Python

def Dead() -> bool: ...

Pascal Example

begin
  if Dead then
  begin
    Alarm;
    Disconnect;
  end;
end.

Python Example

if Dead():
    Alarm()
    Disconnect()

See Also

IsDead, Life, GetHP