GetPlayerParty
The party the player is in.
Syntax
Section titled “Syntax”GetPlayerParty(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number - the party’s id; nil in none
Example
Section titled “Example”local party = GetPlayerParty(pid)if not party then SendClientMessage(pid, COLOUR_RED, "You are in no party.") return true endSee also
Section titled “See also”GetPartyMembers · GetPartyLeader · the Parties group of the index
