LoadBrowserURL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "This function loads the specified URL. ==Syntax== <syntaxhighlight lang="lua">bool loadBrowserURL ( browser webBrowser, string url )</syntaxhighlight> ===Required arguments=== '''webBrowser:''' The [...")
 
No edit summary
Line 5: Line 5:


===Required arguments===
===Required arguments===
'''webBrowser:''' The [[browser]] element which will load the URL
*'''webBrowser:''' The [[browser]] element which will load the URL
'''url:''' The url you want to load. It can either contain a remote website ("http://" prefix) or a website stored within a local resource ("gui.html" for example).
*'''url:''' The url you want to load. It can either contain a remote website ("http://" prefix) or a website stored within a local resource ("gui.html" for example).


===Returns===
===Returns===
Returns '''true''' if the URL was successfully loaded.
Returns ''true'' if the URL was successfully loaded.


==Example==
==Example==

Revision as of 08:39, 23 September 2014

This function loads the specified URL.

Syntax

bool loadBrowserURL ( browser webBrowser, string url )

Required arguments

  • webBrowser: The browser element which will load the URL
  • url: The url you want to load. It can either contain a remote website ("http://" prefix) or a website stored within a local resource ("gui.html" for example).

Returns

Returns true if the URL was successfully loaded.

Example

Todo

See Also

Todo