Skip to content

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.

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

boolean

-- the duel queue: the two next in line become a party for the round
AddPlayerToParty(queue[1], queue[2])

RemovePlayerFromParty · OnPlayerJoinParty · the Parties group of the index