OnElementDataChange: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
JonChappell (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category: Incomplete Event]] |
Revision as of 04:23, 19 November 2006
This fake function is for use with blah & blah and does blahblahblabhalbhl
This event will be triggered when someone joins the server
Example
This example gets the joining client's name and outputs a welcome message including his name once he joins
addEventHandler ( "onPlayerJoin", root, "onPlayerJoin" ) function onPlayerJoin ( ) joinplayer = getClientName ( source ) outputChatBox ( "Welcome " ..joinplayer.. " to the Server!" , source, 255, 255, 255 ) end