Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Server Moderato

Events.CallRemotePlayers

Triggers a remote custom Event from the Server to an array of specific Players (Server ➔ Clients)<br/>More network-efficient than looping CallRemote<br/>Must be caught using <code>Events.SubscribeRemote()</code> on the Clients

Non ancora tradotto

Sintassi

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

Parametri

Nome Tipo Predefinito Descrizione
event_name string The Event Name to trigger the event
players Player[] The remote players to send this event
reliability facoltativo Reliability Reliability.Reliable The network reliability rule
args... facoltativo any nil Arguments to pass to the event