OnClientPlayerJoin

From Multi Theft Auto: Wiki
Revision as of 17:37, 6 January 2008 by EAi (talk | contribs)
Jump to navigation Jump to search

This event is triggered when a player joins a server. It is triggered for all players other than the local player.

Parameters

None

Source

The source of this event is the player that joined the server.

Example

addEventHandler("onClientPlayerJoin", getRootElement(),
    function ()
        outputChatBox("You've joined the server!")
    end
)