21
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
|cancellable = true | |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); | |||
}); | }); | ||
|exampleJSCS = addEventHandler('OnElementStreamIn', (event, element) => { | |exampleJSCS = addEventHandler('OnElementStreamIn', (event, element) => { | ||
Line 16: | Line 16: | ||
}); | }); | ||
|exampleLuaSS = addEventHandler('OnElementStreamIn', function(event, element, client) | |exampleLuaSS = addEventHandler('OnElementStreamIn', function(event, element, client) | ||
message('Element with id ' .. element.id .. ' has streamed in for a client.', COLOUR_RED) | |||
end) | end) | ||
|exampleLuaCS = addEventHandler('OnElementStreamIn', function(event, element) | |exampleLuaCS = addEventHandler('OnElementStreamIn', function(event, element) |
edits