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

Events.Call

Triggers a local custom Event across all Packages on the same side (Client ➔ Client OR Server ➔ Server)<br/>Must be caught using <code>Events.Subscribe()</code>

Non ancora tradotto

Sintassi

Lua
Events.Call(event_name, args... = nil)

Parametri

Nome Tipo Predefinito Descrizione
event_name string The Event Name to trigger the event
args... facoltativo any nil Arguments to pass to the event

Valore restituito

  • boolean Returns false if any of the event listeners returned false, otherwise returns true