IsWebAvailable
Whether this game runs the web layer with the server’s interface in force.
true when the player’s web layer runs and the server has an interface it has sent, so its frames can be shown.
false in every other case - with no web layer, while the interface is still arriving - and a script that has a
second way to show a screen (a Lua one) uses it then.
Syntax
Section titled “Syntax”IsWebAvailable()Returns
Section titled “Returns”boolean - true when the frames can be shown
Example
Section titled “Example”if IsWebAvailable() then ShowWebFrame("login")else showLuaLogin() -- the script's own screen, drawn with the game's UI functionsendSee also
Section titled “See also”IsWebFrameReady · ShowWebFrame · the Web interface group of the index
