Advertisement
louloufred

impound.hpp

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