Skip to content

GetPlayerParty

The party the player is in.

GetPlayerParty(pid)
Parameter Type
pid number the player

number - the party’s id; nil in none

local party = GetPlayerParty(pid)
if not party then SendClientMessage(pid, COLOUR_RED, "You are in no party.") return true end

GetPartyMembers · GetPartyLeader · the Parties group of the index