SendClientMessageToRegion
A line to the players of this level alone.
SendClientMessageToAll reaches everyone on every level of this server. Use this for what only concerns the level: a fire in the town, a boss in the woods.
Syntax
Section titled “Syntax”SendClientMessageToRegion(color, text)| Parameter | Type | |
|---|---|---|
color |
number | the color, 0xRRGGBBAA |
text |
string | the line |
Example
Section titled “Example”SendClientMessageToRegion(0xFFD070FF, "The bell rings in " .. GetLevelName() .. ".")See also
Section titled “See also”SendClientMessageToName · TriggerRegionEvent · the Regions group of the index
