Esempio n. 1
0
        private void ShowRepaintMenuEvent(object[] args)
        {
            // Disable the HUD
            Ui.DisplayHud(false);
            Ui.DisplayRadar(false);

            // Show the paint menu
            Browser.CreateBrowserEvent(new object[] { "package://statics/html/repaintVehicle.html" });
        }
Esempio n. 2
0
        private void CloseRepaintWindowEvent(object[] args)
        {
            // Enable the HUD
            Ui.DisplayHud(true);
            Ui.DisplayRadar(true);

            // Destroy the browser
            Browser.DestroyBrowserEvent(null);

            // Restore the vehicle's colors
            Events.CallRemote("cancelVehicleRepaint");
        }