Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. class playerMenu {
  2. idd = 2798;
  3. name= "playerMenu";
  4. movingEnable = 1;
  5. enableSimulation = 1;
  6.  
  7. class controlsBackground {
  8. class frame: Life_RscPicture
  9. {
  10. idc = 5560;
  11. text = "\A3L_Client2\cellphone\menus\playermenu\frame.paa";
  12. x = 0.283437 * safezoneW + safezoneX;
  13. y = 0.159 * safezoneH + safezoneY;
  14. w = 0.433125 * safezoneW;
  15. h = 0.737 * safezoneH;
  16. };
  17. };
  18. class controls {
  19. class usepicture: Life_RscPicture
  20. {
  21. idc = 5900;
  22. text = "\A3L_Client2\cellphone\menus\playermenu\buttons\use.paa";
  23. x = 0.430937 * safezoneW + safezoneX;
  24. y = 0.516557 * safezoneH + safezoneY;
  25. w = 0.0232292 * safezoneW;
  26. h = 0.0210741 * safezoneH;
  27. };
  28. class usebutton: Life_RscButton
  29. {
  30. idc = 1015;
  31. text = "\A3L_Client2\cellphone\menus\playermenu\buttons\use.paa";
  32. x = 0.430937 * safezoneW + safezoneX;
  33. y = 0.516557 * safezoneH + safezoneY;
  34. w = 0.0232292 * safezoneW;
  35. h = 0.0210741 * safezoneH;
  36. action = "[] spawn life_fnc_useItem;";
  37. onMouseEnter = "ctrlSetText [5900, ""\A3L_Client2\cellphone\menus\playermenu\buttons\usesel.paa""];";
  38. onMouseExit = "CtrlSetText [5900, ""\A3L_Client2\cellphone\menus\playermenu\buttons\use.paa""];";
  39. };
  40. //--------------DROPPIC------------------
  41. class droppicture: Life_RscPicture
  42. {
  43. idc = 5910;
  44. text = "\A3L_Client2\cellphone\menus\playermenu\buttons\drop.paa";
  45. x = 0.45625 * safezoneW + safezoneX;
  46. y = 0.516667 * safezoneH + safezoneY;
  47. w = 0.02375 * safezoneW;
  48. h = 0.0210741 * safezoneH;
  49. };
  50. class dropbutton: Life_RscButton
  51. {
  52. idc = 2002;
  53. text = "\A3L_Client2\cellphone\menus\playermenu\buttons\drop.paa";
  54. x = 0.45625 * safezoneW + safezoneX;
  55. y = 0.516667 * safezoneH + safezoneY;
  56. w = 0.02375 * safezoneW;
  57. h = 0.0210741 * safezoneH;
  58. action = "[] call life_fnc_removeItem;";
  59. onMouseEnter = "ctrlSetText [5910, ""\A3L_Client2\cellphone\menus\playermenu\buttons\dropsel.paa""];";
  60. onMouseExit = "CtrlSetText [5910, ""\A3L_Client2\cellphone\menus\playermenu\buttons\drop.paa""];";
  61. };
  62. //--------------GIVEPIC------------------
  63. class givepicture: Life_RscPicture
  64. {
  65. idc = 5920;
  66. text = "\A3L_Client2\cellphone\menus\playermenu\buttons\give.paa";
  67. x = 0.545313 * safezoneW + safezoneX;
  68. y = 0.516667 * safezoneH + safezoneY;
  69. w = 0.0216667 * safezoneW;
  70. h = 0.0201482 * safezoneH;
  71. };
  72. class givebutton: Life_RscButton
  73. {
  74. idc = 2002;
  75. text = "";
  76. x = 0.545313 * safezoneW + safezoneX;
  77. y = 0.516667 * safezoneH + safezoneY;
  78. w = 0.0216667 * safezoneW;
  79. h = 0.0201482 * safezoneH;
  80. action = "[] call life_fnc_giveItem";
  81. onMouseEnter = "ctrlSetText [5920, ""\A3L_Client2\cellphone\menus\playermenu\buttons\givesel.paa""];";
  82. onMouseExit = "CtrlSetText [5920, ""\A3L_Client2\cellphone\menus\playermenu\buttons\give.paa""];";
  83. };
  84. //--------------OTHER------------------
  85. class playerlist: Life_RscCombo
  86. {
  87. idc = 2022;
  88. x = 0.497344 * safezoneW + safezoneX;
  89. y = 0.516593 * safezoneH + safezoneY;
  90. w = 0.0459375 * safezoneW;
  91. h = 0.0212408 * safezoneH;
  92. };
  93. class editamount: Life_RscEdit
  94. {
  95. idc = 2010;
  96. x = 0.482292 * safezoneW + safezoneX;
  97. y = 0.517592 * safezoneH + safezoneY;
  98. w = 0.0126041 * safezoneW;
  99. h = 0.0207408 * safezoneH;
  100. sizeEx = 0.4 * GUI_GRID_H;
  101. text = "1";
  102. };
  103. class inventorylb: Life_RscListbox
  104. {
  105. idc = 2005;
  106. x = 0.431407 * safezoneW + safezoneX;
  107. y = 0.330148 * safezoneH + safezoneY;
  108. w = 0.136563 * safezoneW;
  109. h = 0.183704 * safezoneH;
  110. };
  111. class Life_Licenses: Life_RscStructuredText
  112. {
  113. idc = 2014;
  114. x = 0.430937 * safezoneW + safezoneX;
  115. y = 0.584296 * safezoneH + safezoneY;
  116. w = 0.136042 * safezoneW;
  117. h = 0.133704 * safezoneH;
  118. };
  119. };
  120. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement