ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isBrowserLoading

Function

isBrowserLoading

ClientBrowserIdentical to MTA:SA

Checks whether the page is still loading.

Syntax

bool isBrowserLoading(browser webBrowser)

Arguments

webBrowserbrowser
The browser.

Returns

true while loading.

Example

addEventHandler("onClientRender", root, function()
    if isBrowserLoading(browser) then
        dxDrawText("Ładowanie...", 20, 20)
    end
end)