SetBrowserProperty

From Multi Theft Auto: Wiki
Revision as of 06:42, 7 July 2015 by Lopez (talk | contribs)
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