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

PetsCurrent

Returns the current number of pets/followers the character has.

Returns 0 if the character is not connected.

Возвращает текущее количество петов/фолловеров персонажа.

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

Pascal

function PetsCurrent: Byte;

Python

def PetsCurrent() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Pets: ' + IntToStr(PetsCurrent) + ' / ' + IntToStr(PetsMax));
end.

Python Example

AddToSystemJournal(f'Pets: {PetsCurrent()} / {MaxPets()}')

See Also

PetsMax, ExtendedInfo