Advertisement
DanielStewart

Untitled

Dec 5th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. class Federal_Safe {
  2. idd = 3500;
  3. name = "Federal_Safe";
  4. movingEnable = 0;
  5. enableSimulation = 1;
  6.  
  7. class controlsBackground {
  8. class RscTitleBackground: Life_RscText {
  9. colorBackground[] = {218,196,13,0.5};
  10. idc = -1;
  11. x = 0.1;
  12. y = 0.2;
  13. w = 0.33;
  14. h = (1 / 25);
  15. };
  16.  
  17. class RscBackground: Life_RscText {
  18. colorBackground[] = {0, 0, 0, 0.7};
  19. idc = -1;
  20. x = 0.1;
  21. y = 0.2 + (11 / 250);
  22. w = 0.33;
  23. h = 0.7 - (22 / 250);
  24. };
  25.  
  26. class RscTitleText: Life_RscTitle {
  27. colorBackground[] = {0, 0, 0, 0};
  28. idc = 3501;
  29. text = "";
  30. x = 0.1;
  31. y = 0.2;
  32. w = 0.33;
  33. h = (1 / 25);
  34. };
  35.  
  36. class VehicleWeight : RscTitleText {
  37. idc = 3504;
  38. style = 1;
  39. text = "";
  40. };
  41.  
  42. class RscTrunkText: Life_RscText {
  43. idc = -1;
  44. colorBackground[] = {218,196,13,0.5};
  45. text = "$STR_Trunk_TInventory";
  46. sizeEx = 0.04;
  47. x = 0.11;
  48. y = 0.25;
  49. w = 0.3;
  50. h = 0.04;
  51. };
  52. };
  53.  
  54. class Controls {
  55. class TrunkGear: Life_RscListBox {
  56. idc = 3502;
  57. text = "";
  58. sizeEx = 0.030;
  59. x = 0.11;
  60. y = 0.29;
  61. w = 0.3;
  62. h = 0.42;
  63. };
  64.  
  65. class TrunkEdit: Life_RscEdit {
  66. idc = 3505;
  67. text = "1";
  68. sizeEx = 0.030;
  69. x = 0.11;
  70. y = 0.72;
  71. w = 0.3;
  72. h = 0.03;
  73. };
  74.  
  75. class TakeItem: Life_RscButtonMenu {
  76. idc = -1;
  77. text = "$STR_Trunk_Take";
  78. colorBackground[] = {218,196,13,0.5};
  79. onButtonClick = "[] call life_fnc_safeTake;";
  80. x = 0.19;
  81. y = 0.78;
  82. w = (6.25 / 40);
  83. h = (1 / 25);
  84. };
  85.  
  86. class ButtonClose: Life_RscButtonMenu {
  87. idc = -1;
  88. //shortcuts[] = {0x00050000 + 2};
  89. text = "$STR_Global_Close";
  90. onButtonClick = "closeDialog 0;";
  91. x = 0.1;
  92. y = 0.9 - (1 / 25);
  93. w = (6.25 / 40);
  94. h = (1 / 25);
  95. };
  96. };
  97. }:
  98.  
  99. class Federal_Safe_1 {
  100. idd = 6666;
  101. name = "Federal_Safe_1";
  102. movingEnable = 0;
  103. enableSimulation = 1;
  104.  
  105. class controlsBackground {
  106. class RscTitleBackground: Life_RscText {
  107. 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])"};
  108. idc = -1;
  109. x = 0.1;
  110. y = 0.2;
  111. w = 0.33;
  112. h = (1 / 25);
  113. };
  114.  
  115. class RscBackground: Life_RscText {
  116. colorBackground[] = {0, 0, 0, 0.7};
  117. idc = -1;
  118. x = 0.1;
  119. y = 0.2 + (11 / 250);
  120. w = 0.33;
  121. h = 0.7 - (22 / 250);
  122. };
  123.  
  124. class RscTitleText: Life_RscTitle {
  125. colorBackground[] = {0, 0, 0, 0};
  126. idc = 3501;
  127. text = "";
  128. x = 0.1;
  129. y = 0.2;
  130. w = 0.33;
  131. h = (1 / 25);
  132. };
  133.  
  134. class VehicleWeight : RscTitleText {
  135. idc = 3504;
  136. style = 1;
  137. text = "";
  138. };
  139.  
  140. class RscTrunkText: Life_RscText {
  141. idc = -1;
  142. 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};
  143. text = "$STR_Trunk_TInventory";
  144. sizeEx = 0.04;
  145. x = 0.11;
  146. y = 0.25;
  147. w = 0.3;
  148. h = 0.04;
  149. };
  150. };
  151.  
  152. class Controls {
  153. class TrunkGear: Life_RscListBox {
  154. idc = 6669;
  155. text = "";
  156. sizeEx = 0.030;
  157. x = 0.11;
  158. y = 0.29;
  159. w = 0.3;
  160. h = 0.42;
  161. };
  162.  
  163. class TrunkEdit: Life_RscEdit {
  164. idc = 6662;
  165. text = "1";
  166. sizeEx = 0.030;
  167. x = 0.11;
  168. y = 0.72;
  169. w = 0.3;
  170. h = 0.03;
  171. };
  172.  
  173. class TakeItem: Life_RscButtonMenu {
  174. idc = -1;
  175. text = "$STR_Trunk_Take";
  176. 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};
  177. onButtonClick = "[] call life_fnc_safeTakeBank;";
  178. x = 0.19;
  179. y = 0.78;
  180. w = (6.25 / 40);
  181. h = (1 / 25);
  182. };
  183.  
  184. class ButtonClose: Life_RscButtonMenu {
  185. idc = -1;
  186. //shortcuts[] = {0x00050000 + 2};
  187. text = "$STR_Global_Close";
  188. onButtonClick = "closeDialog 0;";
  189. x = 0.1;
  190. y = 0.9 - (1 / 25);
  191. w = (6.25 / 40);
  192. h = (1 / 25);
  193. };
  194. };
  195. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement