Browser::active

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Function: Gets or sets if the browser is active

Parameters

  • Toggle: Boolean

Syntax

Client-Side
browser.active;

Example

Setter:

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

Getter:

Client-Side
let active = browser.active;

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

See Also