Skip to content

SendPartyMessage

One chat line to every member - the mode’s /p.

SendPartyMessage(party, colour, text)
Parameter Type
party number the party
colour number 0xRRGGBBAA
text string the line

boolean - false for an unknown party

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 true

SendClientMessage · GetPartyMembers · the Parties group of the index