class Life_Vehicle_Shop_v2 {
idd = 2300;
name="life_vehicle_shop";
movingEnabled = 0;
enableSimulation = 1;
onLoad = "ctrlShow [2330,false];";
class controlsBackground {
class Life_RscTitleBackground : Life_RscText {
colorBackground[] = {"(profileNamespace getVariable ['GUI_BCG_RGB_R',0.3843])", "(profileNamespace getVariable ['GUI_BCG_RGB_G',0.7019])", "(profileNamespace getVariable ['GUI_BCG_RGB_B',0.8862])", "(profileNamespace getVariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class MainBackground : Life_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.7 - (22 / 250);
};
class Title : Life_RscTitle {
idc = 2301;
text = "";
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class VehicleTitleBox : Life_RscText {
idc = -1;
text = "$STR_GUI_ShopStock";
colorBackground[] = {"(profileNamespace getVariable ['GUI_BCG_RGB_R',0.3843])", "(profileNamespace getVariable ['GUI_BCG_RGB_G',0.7019])", "(profileNamespace getVariable ['GUI_BCG_RGB_B',0.8862])", "(profileNamespace getVariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.11; y = 0.26;
w = 0.3;
h = (1 / 25);
};
class VehicleInfoHeader : Life_RscText {
idc = 2330;
text = "$STR_GUI_VehInfo";
colorBackground[] = {"(profileNamespace getVariable ['GUI_BCG_RGB_R',0.3843])", "(profileNamespace getVariable ['GUI_BCG_RGB_G',0.7019])", "(profileNamespace getVariable ['GUI_BCG_RGB_B',0.8862])", "(profileNamespace getVariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.42; y = 0.26;
w = 0.46;
h = (1 / 25);
};
class CloseBtn : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
class RentCar : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_RentVeh";
onButtonClick = "[false] spawn life_fnc_vehicleShopBuy;";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
class BuyCar : life_RscButtonMenu {
idc = 2309;
text = "$STR_Global_Buy";
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
onButtonClick = "[true] spawn life_fnc_vehicleShopBuy;";
x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
class tablet : Life_RscPicture {
idc = -1;
colorBackground[] = {0,0,0,0.7};
text = "textures\menu.paa";
x = 0.273125 * safezoneW + safezoneX;
y = 0.148 * safezoneH + safezoneY;
w = 0.458906 * safezoneW;
h = 0.748 * safezoneH;
};
};
class controls {
class VehicleList : Life_RscListBox {
idc = 2302;
text = "";
sizeEx = 0.04;
colorBackground[] = {0.1,0.1,0.1,0.9};
onLBSelChanged = "_this call life_fnc_vehicleShopLBChange";
x = 0.11; y = 0.302;
w = 0.303; h = 0.49;
};
class ColorList : Life_RscCombo {
idc = 2304;
x = 0.11; y = 0.8;
w = 0.303; h = 0.03;
};
class vehicleInfomationList : Life_RscStructuredText {
idc = 2303;
text = "";
sizeEx = 0.035;
x = 0.41; y = 0.3;
w = 0.5; h = 0.5;
};
};
};