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

GetPlayerStatusText

Returns the status text string for the mobile with ObjID.

Возвращает строку статуса мобайла с ObjID.

Pascal

function GetPlayerStatusText(ObjID: Cardinal): String;

Python

def GetPlayerStatusText(ObjID: int) -> str: ...

Pascal Example

begin
  AddToSystemJournal('Status: ' + GetPlayerStatusText(Self));
end.

Python Example

AddToSystemJournal(f'Status: {GetPlayerStatusText(Self())}')