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

GetInt

Returns the Intelligence stat of the mobile with ObjID.

Возвращает характеристику Интеллект (Intelligence) мобайла с ObjID.

Pascal

function GetInt(ObjID: Cardinal): Integer;

Parameters:

  • ObjID — ID of the mobile.

Python

def GetInt(ObjID: int) -> int: ...

Pascal Example

begin
  AddToSystemJournal('Int: ' + IntToStr(GetInt(Self)));
end.

Python Example

AddToSystemJournal(f'Int: {GetInt(Self())}')

See Also

GetStr, GetDex, RequestStats