OnElementStreamIn: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = onElementStreamIn
|side = shared
|type = event
|type = event
|name = onElementStreamIn
|games = iii vc sa iv
|parameter1 = Element element The element that has streamed in for a client.
|desc = an element streams in for a client
|parameter2 = Client client The client that the element has streamed in for. Server-side only.
|arg1 = Element element The element that has streamed in for a client.
|usage = an element streams in for a client
|arg2 = Client client The client that the element has streamed in for. Server-side only.
|callbackParametersSS = Event event, Element element, Client client
|cancel = true
|callbackParametersCS = Event event, Element element
|cancellable = true
|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