- Documentation
- Server events
- onPlayerReady
Event
onPlayerReady
The player has loaded the game and appeared in the world for the first time. A good place for a welcome, because the player can already see the screen.
Handler
addEventHandler("onPlayerReady", root, function() ... end)Source
source is the player.
Example
addEventHandler("onPlayerReady", root, function()
outputChatBox("Miłej gry, " .. getPlayerName(source) .. "!", source, 255, 122, 34)
end)