TriggerEvent
Triggers a JavaScript serverside event.
- eventName: A string with the name of the event name on JavaScript.
- args: An optional array of objects with the parameters passed to the event.
{{#tag:syntaxhighlight|NAPI.LocalEvent.TriggerEvent("MyCustomJavaScriptEvent"); }} }}