SetBrowserProperty

From Multi Theft Auto: Wiki
Revision as of 17:41, 4 April 2015 by Emiliano Castro (talk | contribs) (Added setBrowserProperty - https://github.com/multitheftauto/mtasa-blue/commit/4a89394d70cbb8dcf446c5be9d56608225c04b02)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function set a property to the web browser.

Syntax

bool setBrowserProperty ( string key, string value )

OOP Syntax Help! I don't understand this!

Method: browser:setProperty(...)
Counterpart: setBrowserProperty


Required arguments

  • key: The browser property key. It can be:
    • mobile: Surfing the web as mobile
  • value: A value indicate wheter enable("1") or not ("0") the property

Returns

Returns true if the property was successfully applied, false otherwise.

Example

Todo

See Also

Todo

See also