- Documentation
- Server functions
- getLoadingScreen
Function
getLoadingScreen
Returns the current loading screen set with setLoadingScreen.
Syntax
string, string, table, resource getLoadingScreen()Returns
Image (or false), text, tips, resource; false when it is the default.
Example
local image, text = getLoadingScreen()
outputServerLog("Ekran ladowania: " .. tostring(text))
See also
setLoadingScreenSets a custom server loading screen that players see while joining: a PNG/JPG image from the resource (up to 2 MB), a text and a list of tips shown in turn. The screen belongs to the resource - when it stops, the default Trilogy Hub screen returns.resetLoadingScreenRestores the default Trilogy Hub loading screen.