- Documentation
- Client events
- onClientWorldLoaded
Event
onClientWorldLoaded
The world was revealed after the loading screen. From now on the player sees the game.
Handler
addEventHandler("onClientWorldLoaded", root, function() ... end)Source
source is root.
Example
addEventHandler("onClientWorldLoaded", root, function()
fadeCamera(true, 2)
end)
See also
onClientResourceStartA resource started in the player's game (client scripts are loaded). Attached toresourceRootit only arrives for your own resource.onPlayerReadyThe 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.