DisbandParty
Ends a party.
Every member leaves with "disband", then OnPartyDisband fires with "mode".
Syntax
Section titled “Syntax”DisbandParty(party)| Parameter | Type | |
|---|---|---|
party |
number | the party |
Returns
Section titled “Returns”boolean - false for an unknown party
Example
Section titled “Example”elseif cmd == "disband" then local party = GetPlayerParty(pid) if party and GetPartyLeader(party) == pid then DisbandParty(party) end return trueSee also
Section titled “See also”RemovePlayerFromParty · OnPartyDisband · the Parties group of the index
