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

Function

resizeBrowser

ClientBrowserIdentical to MTA:SA

Changes the browser size.

Syntax

bool resizeBrowser(browser webBrowser, int width, int height)

Arguments

webBrowserbrowser
The browser.
widthint
New width.
heightint
New height.

Returns

true on success.

Example

addEventHandler("onClientScreenSizeChange", root, function(w, h)
    resizeBrowser(browser, w, h)
end)