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

PartyCanLootMe

Sets whether party members are allowed to loot the character’s corpse.

Value — True to allow looting, False to disallow.

Sends the corresponding packet to the server. The character must be in a party for this setting to have effect.

Устанавливает, разрешено ли членам пати забирать предметы с трупа персонажа.

Value — True — разрешить лут, False — запретить.

Отправляет соответствующий пакет серверу. Персонаж должен состоять в пати, чтобы настройка имела эффект.

Pascal

procedure PartyCanLootMe(Value: Boolean);

Python

def PartyCanLootMe(Value: bool) -> None: ...

Pascal Example

begin
  if InParty then
  begin
    PartyCanLootMe(True);
    AddToSystemJournal('Party members can now loot my corpse');
  end;
end.

Python Example

if InParty():
    PartyCanLootMe(True)
    AddToSystemJournal('Party members can now loot my corpse')

See Also

InParty, PartyMembersList, PartyLeave