RAGE.Ui.HtmlWindow.Active
Syntax
bool HtmlWindow.Active { get; set; }
C# Syntax
HtmlWindow ShopCEF = new HtmlWindow("package://cef/shop/index.html");
private void openUI() {
ShopCEF.Active = true;
Rage.Ui.Cursor.Visible = true;
RAGE.Game.Entity.FreezeEntityPosition(Player.LocalPlayer.Handle, true);
}
private void closeUI() {
ShopCEF.Active = false;
Rage.Ui.Cursor.Visible = false;
RAGE.Game.Entity.FreezeEntityPosition(Player.LocalPlayer.Handle, false);
}