SendPartyMessage
One chat line to every member - the mode’s /p.
Syntax
Section titled “Syntax”SendPartyMessage(party, colour, text)| Parameter | Type | |
|---|---|---|
party |
number | the party |
colour |
number | 0xRRGGBBAA |
text |
string | the line |
Returns
Section titled “Returns”boolean - false for an unknown party
Example
Section titled “Example”elseif cmd == "p" then local party = GetPlayerParty(pid) if not party then SendClientMessage(pid, COLOUR_RED, "You are in no party.") return true end SendPartyMessage(party, 0x80C0FFFF, "[Party] " .. GetPlayerName(pid) .. ": " .. args) return trueSee also
Section titled “See also”SendClientMessage · GetPartyMembers · the Parties group of the index
