AddPlayerToParty
Puts a player into another’s party without an invitation.
A queue, a raid maker, a mode that groups its players itself: pid joins host’s party, which is made first (with
host leading) when there is none. The join’s reason is "mode". false when either is not connected, pid is in a
party already, or the party is full.
Syntax
Section titled “Syntax”AddPlayerToParty(host, pid)| Parameter | Type | |
|---|---|---|
host |
number | a member of the party (or the leader of the new one) |
pid |
number | the player to add |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”-- the duel queue: the two next in line become a party for the roundAddPlayerToParty(queue[1], queue[2])See also
Section titled “See also”RemovePlayerFromParty · OnPlayerJoinParty · the Parties group of the index
