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

PartyLeave

Leaves the current party.

Internally sends a “remove self” packet to the server.

Покидает текущую пати.

Внутренне отправляет серверу пакет «удалить себя».

Pascal

procedure PartyLeave;

Python

def PartyLeave() -> None: ...

Pascal Example

begin
  if InParty then
  begin
    PartyLeave;
    AddToSystemJournal('Left the party');
  end;
end.

Python Example

if InParty():
    PartyLeave()
    AddToSystemJournal('Left the party')

See Also

InParty, InviteToParty