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

Function

setBrowserProperty

ClientBrowserIdentical to MTA:SA

Sets a browser property. "mobile" is supported: "1" turns on the phone view.

Syntax

bool setBrowserProperty(browser webBrowser, string key, string value)

Arguments

webBrowserbrowser
The browser.
keystring
Property name.
valuestring
The value.

Returns

true on success.

Example

setBrowserProperty(phoneBrowser, "mobile", "1")

See also