ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientPlayerJoin

Event

onClientPlayerJoin

ClientPlayersIdentical to MTA:SA

Another player joined the server.

Handler

addEventHandler("onClientPlayerJoin", root, function() ... end)

Source

source is the player.

Example

addEventHandler("onClientPlayerJoin", root, function()
    outputChatBox(getPlayerName(source) .. " dołączył.", 150, 150, 150)
end)

See also