OnElementStreamIn: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
|arg1 = Element element The element that has streamed in for a client.
|arg1 = Element element The element that has streamed in for a client.
|arg2 = Client client The client that the element has streamed in for. Server-side only.
|arg2 = Client client The client that the element has streamed in for. Server-side only.
|cancel = true
|cancel = false
|exampleJSSS = addEventHandler('OnElementStreamIn', (event, element, client) => {
|exampleJSSS = addEventHandler('OnElementStreamIn', (event, element, client) => {
message('Element with id ' + element.id + ' has streamed in for ' + client.name, COLOUR_BLUE);
message('Element with id ' + element.id + ' has streamed in for ' + client.name, COLOUR_BLUE);
6,834

edits