Browser::url

From RAGE Multiplayer Wiki
Jump to: navigation, search

Function: Set or get the url of a browser

Parameters

  • URL: String

Syntax

Client-Side
browser.url;

Example

Setter:

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

Getter:

Client-Side
let url = browser.url;

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

See Also