Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. #include "player_sys.sqf"
  2.  
  3. class playerSettings {
  4. idd = playersys_DIALOG;
  5. movingEnable = 1;
  6. enableSimulation = 1;
  7.  
  8. class controlsBackground {
  9.  
  10. class fondtablet: Life_RscPicture
  11. {
  12. idc = 9090909;
  13. text = "textures\menu.paa";
  14. x = 0;
  15. y = -0.12;
  16. w = 1;
  17. h = 1.28;
  18. };
  19.  
  20. class MainBackground:life_RscText {
  21. idc = -1;
  22. x = 0.1;
  23. y = 0.2 + (11 / 250);
  24. w = 0.8;
  25. h = 0.6 - (22 / 250);
  26. };
  27.  
  28. class Title : life_RscTitle {
  29. colorBackground[] = {0, 0, 0, 0};
  30. idc = -1;
  31. text = "iOS 8";
  32. x = 0.1;
  33. y = 0.2;
  34. w = 0.8;
  35. h = (1 / 25);
  36. };
  37.  
  38. class moneyStatusInfo : Life_RscStructuredText
  39. {
  40. idc = 2015;
  41. sizeEx = 0.020;
  42. text = "";
  43. x = 0.105;
  44. y = 0.30;
  45. w = 0.3; h = 0.6;
  46. };
  47.  
  48. class PlayersName : Title {
  49. idc = carry_weight;
  50. style = 1;
  51. text = "";
  52. };
  53. };
  54.  
  55. class controls {
  56. class itemHeader: Life_RscText {
  57. idc = -1;
  58. text = "$STR_PM_cItems";
  59. sizeEx = 0.04;
  60. x = 0.62;
  61. y = 0.26;
  62. w = 0.275;
  63. h = 0.04;
  64. };
  65.  
  66. class licenseHeader: Life_RscText {
  67. idc = -1;
  68. text = "$STR_PM_Licenses";
  69. sizeEx = 0.04;
  70. x = 0.336;
  71. y = 0.26;
  72. w = 0.275;
  73. h = 0.04;
  74. };
  75.  
  76. class moneySHeader: Life_RscText {
  77. idc = -1;
  78. text = "$STR_PM_MoneyStats";
  79. sizeEx = 0.04;
  80. x = 0.11;
  81. y = 0.26;
  82. w = 0.219;
  83. h = 0.04;
  84. };
  85.  
  86. class itemList: Life_RscListBox {
  87. idc = item_list;
  88. sizeEx = 0.030;
  89. x = 0.62;
  90. y = 0.30;
  91. w = 0.275;
  92. h = 0.3;
  93. };
  94.  
  95. class moneyEdit: Life_RscEdit {
  96. idc = 2018;
  97. text = "1";
  98. sizeEx = 0.030;
  99. x = 0.12;
  100. y = 0.42;
  101. w = 0.18;
  102. h = 0.03;
  103. };
  104.  
  105. class NearPlayers: Life_RscCombo {
  106. idc = 2022;
  107. x = 0.12;
  108. y = 0.46;
  109. w = 0.18;
  110. h = 0.03;
  111. };
  112.  
  113. class moneyDrop: Life_RscButtonMenu {
  114. idc = 2001;
  115. text = "$STR_Global_Give";
  116. onButtonClick = "[] call life_fnc_giveMoney";
  117. sizeEx = 0.025;
  118. x = 0.135;
  119. y = 0.50;
  120. w = 0.13;
  121. h = 0.036;
  122. };
  123.  
  124. class itemEdit: Life_RscEdit {
  125. idc = item_edit;
  126. text = "1";
  127. sizeEx = 0.030;
  128. x = 0.62;
  129. y = 0.61;
  130. w = 0.275;
  131. h = 0.03;
  132.  
  133. };
  134.  
  135. class iNearPlayers: Life_RscCombo {
  136. idc = 2023;
  137. x = 0.62;
  138. y = 0.65;
  139. w = 0.275;
  140. h = 0.03;
  141. };
  142.  
  143. class DropButton: Life_RscButtonMenu {
  144. idc = 2002;
  145. text = "$STR_Global_Give";
  146. onButtonClick = "[] call life_fnc_giveItem;";
  147. x = 0.765;
  148. y = 0.70;
  149. w = (5.25 / 40);
  150. h = (1 / 25);
  151. };
  152.  
  153. class UseButton: Life_RscButtonMenu {
  154. text = "$STR_Global_Use";
  155. onButtonClick = "[] call life_fnc_useItem;";
  156. x = 0.62;
  157. y = 0.70;
  158. w = (5.25 / 40);
  159. h = (1 / 25);
  160. };
  161.  
  162. class RemoveButton: Life_RscButtonMenu {
  163. text = "$STR_Global_Remove";
  164. onButtonClick = "[] call life_fnc_removeItem;";
  165. x = 0.475;
  166. y = 0.70;
  167. w = (5.25 / 40);
  168. h = (1 / 25);
  169. };
  170.  
  171. class ButtonClose: Life_RscButtonMenu {
  172. idc = -1;
  173. //shortcuts[] = {0x00050000 + 2};
  174. text = "$STR_Global_Close";
  175. onButtonClick = "closeDialog 0;";
  176. x = 0.1;
  177. y = 0.8 - (1 / 25);
  178. w = (6.25 / 40);
  179. h = (1 / 25);
  180. };
  181.  
  182. class ButtonSettings: Life_RscButtonMenu {
  183. idc = -1;
  184. text = "$STR_Global_Settings";
  185. onButtonClick = "[] call life_fnc_settingsMenu;";
  186. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  187. y = 0.8 - (1 / 25);
  188. w = (6.25 / 40);
  189. h = (1 / 25);
  190. };
  191.  
  192. class ButtonMyGang: Life_RscButtonMenu {
  193. idc = 2011;
  194. text = "$STR_PM_MyGang";
  195. onButtonClick = "if (isNil ""life_action_gangInUse"") then {if (isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""Life_Create_Gang_Diag"";} else {[] spawn life_fnc_gangMenu;};};";
  196. x = 0.1 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
  197. y = 0.8 - (1 / 25);
  198. w = (6.25 / 40);
  199. h = (1 / 25);
  200. };
  201.  
  202. class Licenses_Menu : Life_RscControlsGroup {
  203. idc = -1;
  204. w = 0.28;
  205. h = 0.38;
  206. x = 0.34;
  207. y = 0.30;
  208.  
  209. class Controls {
  210. class Life_Licenses: Life_RscStructuredText {
  211. idc = 2014;
  212. sizeEx = 0.020;
  213. text = "";
  214. x = 0;
  215. y = 0;
  216. w = 0.27;
  217. h = 0.65;
  218. };
  219. };
  220. };
  221.  
  222. class ButtonGangList: Life_RscButtonMenu {
  223. idc = 2012;
  224. text = "$STR_PM_WantedList";
  225. onButtonClick = "[] call life_fnc_wantedMenu";
  226. x = 0.1 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
  227. y = 0.8 - (1 / 25);
  228. w = (6.25 / 40);
  229. h = (1 / 25);
  230. };
  231.  
  232. class ButtonKeys: Life_RscButtonMenu {
  233. idc = 2013;
  234. text = "$STR_PM_KeyChain";
  235. onButtonClick = "createDialog ""Life_key_management"";";
  236. x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
  237. y = 0.8 - (1 / 25);
  238. w = (6.25 / 40);
  239. h = (1 / 25);
  240. };
  241.  
  242. class ButtonCell: Life_RscButtonMenu {
  243. idc = 2014;
  244. text = "$STR_PM_CellPhone";
  245. onButtonClick = "createDialog ""Life_cell_phone"";";
  246. x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
  247. y = 0.8 - (1 / 25);
  248. w = (6.25 / 40);
  249. h = (1 / 25);
  250. };
  251.  
  252. class ButtonAdminMenu: Life_RscButtonMenu {
  253. idc = 2021;
  254. text = "$STR_PM_AdminMenu";
  255. onButtonClick = "closeDialog 0; createDialog ""life_admin_menu"";";
  256. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  257. y = 0.805;
  258. w = (6.25 / 40);
  259. h = (1 / 25);
  260. };
  261.  
  262. class ButtonSyncData: Life_RscButtonMenu {
  263. idc = -1;
  264. //shortcuts[] = {0x00050000 + 2};
  265. text = "$STR_PM_SyncData";
  266. onButtonClick = "[] call SOCK_fnc_syncData;";
  267. x = 0.1;
  268. y = 0.805;
  269. w = (6.25 / 40);
  270. h = (1 / 25);
  271. };
  272.  
  273. class ButtonMarket : Life_RscButtonMenu {
  274. idc = 3025;
  275. text = "Bourse";
  276. onButtonClick = "[] spawn theprogrammer_fnc_bourseViewInit";
  277. x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
  278. y = 0.805;
  279. w = (6.25 / 40);
  280. h = (1 / 25);
  281. };
  282. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement