onPlayerJoin
ServerEvent
Fired when a player has finished joining and has received the server's initial state.
addEventHandler("onPlayerJoin", root, function() … end)
Source
The player that joined.
Example
addEventHandler("onPlayerJoin", root, function()
spawnPlayer(source, 2495.1, -1687.4, 13.5, 0, "male01")
end)