Progetto H — API Reference API & Scripting Documentation
Static function Server Moderate

Events.BroadcastRemote

Broadcasts a remote custom Event from the Server to ALL currently connected Players (Server ➔ Clients)<br/>Must be caught using <code>Events.SubscribeRemote()</code> on the Clients

Syntax

Lua
Events.BroadcastRemote(event_name, reliability = Reliability.Reliable, args... = nil)

Parameters

Name Type Default Description
event_name string The Event Name to trigger the event
reliability optional Reliability Reliability.Reliable The network reliability rule
args... optional any nil Arguments to pass to the event