6,834
edits
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
==Example== | ==Example== | ||
'''JS, Server-Side:''' | |||
{{JSCode|1=addEventHandler('onPlayerJoined', function(event,client) | |||
{ | |||
message(client.player.name + ' has joined the server!', COLOUR_GREEN); | |||
})}} | |||
'''Lua, Server-Side:''' | '''Lua, Server-Side:''' |
edits