- Documentation
- Client functions
- isWorldLoaded
Function
isWorldLoaded
Checks whether the Trilogy Hub loading screen has gone and the player stands in the game world. Useful to show a welcome window or a camera shot only when the player can actually see it.
Syntax
bool isWorldLoaded()Returns
true when the world is visible.
Example
local timer
timer = setTimer(function()
if isWorldLoaded() then
killTimer(timer)
outputChatBox("Witaj na serwerze!")
end
end, 500, 0)