Skip to content

SendClientEventToAll

The same event to every connected client.

SendClientEventToAll(name [, payload])
Parameter Type
name string the event’s name
payload string the string to send ("" without) (optional)

nothing

SendClientEventToAll("round", tostring(round))

SendClientEvent · SetGlobalState · the Script events group of the index