SendClientMessageToAll
The same line in everyone’s chat.
The same limit as SendClientMessage: a text over 16384 bytes of UTF-8 is cut at that size.
Syntax
Section titled “Syntax”SendClientMessageToAll(color, text)| Parameter | Type | |
|---|---|---|
color |
number | 0xRRGGBBAA |
text |
string | the line |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SendClientMessageToAll(COLOR_YELLOW, string.format("%s wins the round!", GetPlayerName(winner)))See also
Section titled “See also”SendClientMessage · SendClientMessageInRange · GameTextForAll · the Chat and commands group of the index
