RAGE.Ui.HtmlWindow.Active

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

bool HtmlWindow.Active { get; set; }


C# Syntax
C.png

HtmlWindow ShopCEF = new HtmlWindow("package://cef/shop/index.html");

private void openUI() {
    ShopCEF.Active = true;
    Rage.Ui.Cursor.Visible = true;
}

private void closeUI() {
    ShopCEF.Active = false;
    Rage.Ui.Cursor.Visible = false;
}