Browser::url

From RAGE Multiplayer Wiki
Revision as of 15:19, 14 November 2018 by Jeromson (talk | contribs) (Created page with "'''Function''': Set a new URL ==Parameters== * '''URL''': {{RageType|String}} ==Syntax== {{ClientsideCode| <pre> browser.url; </pre> }} ==Example== {{ClientsideCode| <pre>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function: Set a new URL

Parameters

  • URL: String

Syntax

Client-Side
browser.url;

Example

Client-Side
let browser = mp.browsers.new("package://index.html");
browser.url = "package://home.html";

See Package Protocol for more info on the package:// url.

See Also