Advertisement
Guest User

Untitled

a guest
Jun 28th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. class Life_impound_menu {
  2. idd = 2800;
  3. name="life_vehicle_shop";
  4. movingEnable = 0;
  5. enableSimulation = 1;
  6. onLoad = "ctrlShow [2330,false];";
  7.  
  8. class controlsBackground {
  9. class Life_RscTitleBackground: Life_RscText {
  10. 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])"};
  11. idc = -1;
  12. x = 0.1;
  13. y = 0.2;
  14. w = 0.8;
  15. h = (1 / 25);
  16. };
  17.  
  18. class InsureCar : life_RscButtonMenu {
  19. idc = 97480;
  20. text = "Insure" ;
  21. onButtonClick = "[] call life_fnc_insureCar;";
  22. x = 0.43 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  23. y = 0.9 - (1 / 25);
  24. w = (6.25 / 40);
  25. h = (1 / 25);
  26. };
  27.  
  28. class MainBackground: Life_RscText {
  29. colorBackground[] = {0,0,0,0.7};
  30. idc = -1;
  31. x = 0.1;
  32. y = 0.2 + (11 / 250);
  33. w = 0.8;
  34. h = 0.7 - (22 / 250);
  35. };
  36.  
  37. class Title: Life_RscTitle {
  38. idc = 2801;
  39. text = "$STR_GUI_Garage";
  40. x = 0.1;
  41. y = 0.2;
  42. w = 0.8;
  43. h = (1 / 25);
  44. };
  45.  
  46. class VehicleTitleBox: Life_RscText {
  47. idc = -1;
  48. text = "$STR_GUI_YourVeh";
  49. 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])"};
  50. x = 0.11;
  51. y = 0.26;
  52. w = 0.3;
  53. h = (1 / 25);
  54. };
  55.  
  56. class VehicleInfoHeader: Life_RscText {
  57. idc = 2830;
  58. text = "$STR_GUI_VehInfo";
  59. 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])"};
  60. x = 0.42;
  61. y = 0.26;
  62. w = 0.46;
  63. h = (1 / 25);
  64. };
  65.  
  66. class CloseBtn: Life_RscButtonMenu {
  67. idc = -1;
  68. text = "$STR_Global_Close";
  69. onButtonClick = "closeDialog 0;";
  70. x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  71. y = 0.9 - (1 / 25);
  72. w = (6.25 / 40);
  73. h = (1 / 25);
  74. };
  75.  
  76. class RetrieveCar: Life_RscButtonMenu {
  77. idc = -1;
  78. text = "$STR_Global_Retrieve";
  79. onButtonClick = "[] call life_fnc_unimpound;";
  80. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  81. y = 0.9 - (1 / 25);
  82. w = (6.25 / 40);
  83. h = (1 / 25);
  84. };
  85.  
  86. class SellCar: Life_RscButtonMenu {
  87. idc = -1;
  88. text = "$STR_Global_Sell";
  89. onButtonClick = "[] call life_fnc_sellGarage; closeDialog 0;";
  90. x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  91. y = 0.9 - (1 / 25);
  92. w = (6.25 / 40);
  93. h = (1 / 25);
  94. };
  95. };
  96.  
  97. class controls {
  98. class VehicleList: Life_RscListBox {
  99. idc = 2802;
  100. text = "";
  101. sizeEx = 0.04;
  102. colorBackground[] = {0.1,0.1,0.1,0.9};
  103. onLBSelChanged = "_this call life_fnc_garageLBChange;";
  104. x = 0.11;
  105. y = 0.302;
  106. w = 0.303;
  107. h = 0.49;
  108. };
  109.  
  110. class vehicleInfomationList: Life_RscStructuredText {
  111. idc = 2803;
  112. text = "";
  113. sizeEx = 0.035;
  114. x = 0.41;
  115. y = 0.3;
  116. w = 0.5;
  117. h = 0.5;
  118. };
  119.  
  120. class MainBackgroundHider: Life_RscText {
  121. colorBackground[] = {0,0,0,1};
  122. idc = 2810;
  123. x = 0.1;
  124. y = 0.2 + (11 / 250);
  125. w = 0.8;
  126. h = 0.7 - (22 / 250);
  127. };
  128.  
  129. class MainHideText: Life_RscText {
  130. idc = 2811;
  131. text = "$STR_ANOTF_QueryGarage";
  132. sizeEx = 0.06;
  133. x = 0.24;
  134. y = 0.5;
  135. w = 0.6;
  136. h = (1 / 15);
  137. };
  138. };
  139. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement