SendClientEventToAll
The same event to every connected client.
Syntax
Section titled “Syntax”SendClientEventToAll(name [, payload])| Parameter | Type | |
|---|---|---|
name |
string | the event’s name |
payload |
string | the string to send ("" without) (optional) |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SendClientEventToAll("round", tostring(round))See also
Section titled “See also”SendClientEvent · SetGlobalState · the Script events group of the index
