Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 7.42 KB | None | 0 0
  1. /*
  2. Fichier: gang.hpp
  3. Auteur: Armacos
  4. Description:
  5. Menu “gang”
  6. */
  7. class Life_My_Gang_Diag {
  8. idd = 2620;
  9. name= “life_my_gang_menu”;
  10. movingEnable = 0;
  11. enableSimulation = 1;
  12. onLoad = “”;
  13. class controlsBackground {
  14. class fondtablet: Life_RscPicture {
  15. idc = 9090909;
  16. text = “textures\tel\menu-gang.paa;
  17. x = 0;
  18. y = -0.12;
  19. w = 1;
  20. h = 1.28;
  21. };
  22. class Life_RscTitleBackground:Life_RscText {
  23. };
  24. class MainBackground:Life_RscText {
  25. };
  26. };
  27. class controls {
  28. class Title : Life_RscTitle {
  29. colorBackground[] = {0, 0, 0, 0};
  30. idc = 2629;
  31. text = “”;
  32. x = 0.1375;
  33. y = 0.34;
  34. w = 0.4;
  35. h = 0.04;
  36. };
  37. class GangMemberList : Life_RscListBox
  38. {
  39. idc = 2621;
  40. text = “”;
  41. sizeEx = 0.035;
  42. x = 0.162584;
  43. y = 0.4;
  44. w = 0.349912;
  45. h = 0.44;
  46. };
  47. class Life_RscButtonInvisible18 : Life_RscButtonMenu {
  48. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  49. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  50. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  51. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  52. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  53. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  54. colorBackground[] = {0, 0, 0, 0};
  55. colorBackground2[] = {1, 1, 1, 0};
  56. color[] = {1, 1, 1, 0};
  57. color2[] = {1, 1, 1, 0};
  58. colorText[] = {1, 1, 1, 0};
  59. colorDisabled[] = {1, 1, 1, 0};
  60. idc = -1;
  61. text = “$STR_Global_Close”;
  62. onButtonClick =closeDialog 0;[] call life_fnc_p_updateMenu;
  63. x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  64. y = 0.8 - (1 / 25);
  65. w = (6.25 / 40);
  66. h = (1 / 25);
  67. };
  68. class Life_RscButtonInvisible19 : Life_RscButtonMenu {
  69. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  70. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  71. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  72. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  73. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  74. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  75. colorBackground[] = {0, 0, 0, 0};
  76. colorBackground2[] = {1, 1, 1, 0};
  77. color[] = {1, 1, 1, 0};
  78. color2[] = {1, 1, 1, 0};
  79. colorText[] = {1, 1, 1, 0};
  80. colorDisabled[] = {1, 1, 1, 0};
  81. idc = -1;
  82. text = “”;
  83. onButtonClick =[] call life_fnc_gangLeave;
  84. x = 0.5375;
  85. y = 0.424;
  86. w = 0.1625;
  87. h = 0.04;
  88. };
  89. class Life_RscButtonInvisible20 : Life_RscButtonMenu {
  90. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  91. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  92. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  93. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  94. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  95. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  96. colorBackground[] = {0, 0, 0, 0};
  97. colorBackground2[] = {1, 1, 1, 0};
  98. color[] = {1, 1, 1, 0};
  99. color2[] = {1, 1, 1, 0};
  100. colorText[] = {1, 1, 1, 0};
  101. colorDisabled[] = {1, 1, 1, 0};
  102. idc = 2622;
  103. text = “”;
  104. onButtonClick =[] spawn life_fnc_gangUpgrade;
  105. x = 0.5375;
  106. y = 0.5;
  107. w = 0.1625;
  108. h = 0.04;
  109. };
  110. class Life_RscButtonInvisible21 : Life_RscButtonMenu {
  111. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  112. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  113. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  114. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  115. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  116. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  117. colorBackground[] = {0, 0, 0, 0};
  118. colorBackground2[] = {1, 1, 1, 0};
  119. color[] = {1, 1, 1, 0};
  120. color2[] = {1, 1, 1, 0};
  121. colorText[] = {1, 1, 1, 0};
  122. colorDisabled[] = {1, 1, 1, 0};
  123. idc = 2624;
  124. text = “”;
  125. onButtonClick =[] call life_fnc_gangKick;
  126. x = 0.55;
  127. y = 0.588;
  128. w = 0.155;
  129. h = 0.048;
  130. };
  131. class Life_RscButtonInvisible27 : Life_RscButtonMenu {
  132. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  133. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  134. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  135. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  136. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  137. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  138. colorBackground[] = {0, 0, 0, 0};
  139. colorBackground2[] = {1, 1, 1, 0};
  140. color[] = {1, 1, 1, 0};
  141. color2[] = {1, 1, 1, 0};
  142. colorText[] = {1, 1, 1, 0};
  143. colorDisabled[] = {1, 1, 1, 0};
  144. idc = 2625;
  145. text = “”;
  146. onButtonClick =[] spawn life_fnc_gangNewLeader;
  147. x = 0.55;
  148. y = 0.68;
  149. w = 0.155;
  150. h = 0.048;
  151. };
  152. class Life_RscButtonInvisible26 : Life_RscButtonMenu {
  153. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  154. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  155. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  156. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  157. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  158. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  159. colorBackground[] = {0, 0, 0, 0};
  160. colorBackground2[] = {1, 1, 1, 0};
  161. color[] = {1, 1, 1, 0};
  162. color2[] = {1, 1, 1, 0};
  163. colorText[] = {1, 1, 1, 0};
  164. colorDisabled[] = {1, 1, 1, 0};
  165. idc = 2630;
  166. text = “”;
  167. onButtonClick =[] spawn life_fnc_gangInvitePlayer;
  168. x = 0.715;
  169. y = 0.54;
  170. w = 0.18;
  171. h = 0.048;
  172. };
  173. class Life_RscButtonInvisible25 : Life_RscButtonMenu {
  174. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  175. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  176. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  177. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  178. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  179. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  180. colorBackground[] = {0, 0, 0, 0};
  181. colorBackground2[] = {1, 1, 1, 0};
  182. color[] = {1, 1, 1, 0};
  183. color2[] = {1, 1, 1, 0};
  184. colorText[] = {1, 1, 1, 0};
  185. colorDisabled[] = {1, 1, 1, 0};
  186. idc = 2631;
  187. text = “”;
  188. onButtonClick =[] spawn life_fnc_gangDisband;
  189. x = 0.55;
  190. y = 0.76;
  191. w = 0.155;
  192. h = 0.048;
  193. };
  194. class ColorList : Life_RscCombo
  195. {
  196. idc = 2632;
  197. x = 0.724943;
  198. y = 0.62;
  199. w = 0.174956;
  200. h = 0.034;
  201. };
  202. class GangBank : Title {
  203. idc = 601;
  204. style = 1;
  205. text = “”;
  206. };
  207. };
  208. };
  209. class Life_Create_Gang_Diag {
  210. idd = 2520;
  211. name= “life_my_gang_menu_create”;
  212. movingEnable = 0;
  213. enableSimulation = 1;
  214. onLoad =[] spawn {waitUntil {!isNull (findDisplay 2520)}; ((findDisplay 2520) displayCtrl 2523) ctrlSetText format[localize ““STR_Gang_PriceTxt””,[(getNumber(missionConfigFile >> ‘Life_Settings’ >> ‘gang_price’))] call life_fnc_numberText]};;
  215. class controlsBackground {
  216. class fondtablet: Life_RscPicture {
  217. idc = 9090909;
  218. text = “textures\tel\creer-gang.paa;
  219. x = 0;
  220. y = -0.12;
  221. w = 1;
  222. h = 1.28;
  223. };
  224. class Life_RscTitleBackground:Life_RscText {
  225. };
  226. class MainBackground:Life_RscText {
  227. };
  228. };
  229. class controls {
  230. class CloseLoadMenu : Life_RscButtonMenu {
  231. };
  232. class Life_RscButtonInvisible30 : Life_RscButtonMenu {
  233. animTextureNormal =#(argb,8,8,3)color(1,1,1,0)”;
  234. animTextureDisabled =#(argb,8,8,3)color(1,1,1,0)”;
  235. animTextureOver =#(argb,8,8,3)color(1,1,1,0)”;
  236. animTextureFocused =#(argb,8,8,3)color(1,1,1,0)”;
  237. animTexturePressed =#(argb,8,8,3)color(1,1,1,0)”;
  238. animTextureDefault =#(argb,8,8,3)color(1,1,1,0)”;
  239. colorBackground[] = {0, 0, 0, 0};
  240. colorBackground2[] = {1, 1, 1, 0};
  241. color[] = {1, 1, 1, 0};
  242. color2[] = {1, 1, 1, 0};
  243. colorText[] = {1, 1, 1, 0};
  244. colorDisabled[] = {1, 1, 1, 0};
  245. idc = -1;
  246. onButtonClick =[] call life_fnc_createGang;
  247. x = 0.575;
  248. y = 0.592;
  249. w = 0.1;
  250. h = 0.04;
  251. };
  252. class CreateGangText : Life_RscEdit
  253. {
  254. idc = 2522;
  255. text = “$STR_Gang_YGN”;
  256. x = 0.512496;
  257. y = 0.52;
  258. w = 0.224944;
  259. h = 0.04;
  260. };
  261. };
  262. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement