OnElementStreamIn: Difference between revisions

Jump to navigation Jump to search
no edit summary
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) => {
messageClient('Element with id ' + element.id + ' has streamed in for ' + client.name, client, COLOUR_BLUE);
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)
messageClient('Element with id ' .. element.id .. ' has streamed in for a client.', client, COLOUR_RED)
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)
21

edits

Navigation menu