Advertisement
Guest User

Untitled

a guest
May 29th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 KB | None | 0 0
  1. class life_admin_menu {
  2. idd = 2900;
  3. name= "life_admin_menu";
  4. movingEnable = false;
  5. enableSimulation = true;
  6. onLoad = "[] spawn life_fnc_adminMenu;";
  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. colorBackground[] = {0, 0, 0, 0.2};
  22. idc = -1;
  23. x = 0.1;
  24. y = 0.2 + (11 / 250);
  25. w = 0.8;
  26. h = 0.6 - (22 / 250);
  27. };
  28. };
  29.  
  30. class controls {
  31.  
  32.  
  33. class Title : Life_RscTitle {
  34. colorBackground[] = {0, 0, 0, 0};
  35. idc = 2901;
  36. text = "$STR_Admin_Title";
  37. x = 0.1;
  38. y = 0.2;
  39. w = 0.6;
  40. h = (1 / 25);
  41. };
  42.  
  43. class PlayerList_Admin : Life_RscListBox
  44. {
  45. idc = 2902;
  46. text = "";
  47. sizeEx = 0.035;
  48. //colorBackground[] = {0,0,0,0};
  49. onLBSelChanged = "[_this] spawn life_fnc_adminQuery";
  50.  
  51. x = 0.12; y = 0.26;
  52. w = 0.30; h = 0.4;
  53. };
  54.  
  55. class PlayerBInfo : Life_RscStructuredText
  56. {
  57. idc = 2903;
  58. text = "";
  59. x = 0.42;
  60. y = 0.25;
  61. w = 0.35;
  62. h = 0.6;
  63. };
  64.  
  65. class CloseButtonKey : Life_RscButtonMenu {
  66. idc = -1;
  67. text = "$STR_Global_Close";
  68. onButtonClick = "closeDialog 0;";
  69. colorBackground[] = {0, 0, 0, 0.0};
  70. x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  71. y = 0.8 - (1 / 25);
  72. w = (6.25 / 40);
  73. h = (1 / 25);
  74. };
  75.  
  76. class AdminID : Life_RscButtonMenu {
  77. idc = -1;
  78. text = "$STR_Admin_GetID";
  79. onButtonClick = "[] call life_fnc_admingetID;";
  80. colorBackground[] = {0, 0, 0, 0.0};
  81. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  82. y = 0.8 - (1 / 25);
  83. w = (6.25 / 40);
  84. h = (1 / 25);
  85. };
  86.  
  87. class Compensate : Life_RscButtonMenu {
  88. idc = 2904;
  89. text = "$STR_Admin_Compensate";
  90. onButtonClick = "createDialog ""Life_Admin_Compensate"";";
  91. colorBackground[] = {0, 0, 0, 0.0};
  92. x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  93. y = 0.8 - (1 / 25);
  94. w = (6.25 / 40);
  95. h = (1 / 25);
  96. };
  97. class Spectate : Life_RscButtonMenu {
  98. idc = 2905;
  99. text = "$STR_Admin_Spectate";
  100. onButtonClick = "[] call life_fnc_adminSpectate;";
  101. colorBackground[] = {0, 0, 0, 0.0};
  102. x = 0.42 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  103. y = 0.8 - (1 / 25);
  104. w = (6.25 / 40);
  105. h = (1 / 25);
  106. };
  107. class Teleport : Life_RscButtonMenu {
  108. idc = 2906;
  109. text = "$STR_Admin_Teleport";
  110. onButtonClick = "[] call life_fnc_adminTeleport; hint 'Select where you would like to teleport';";
  111. colorBackground[] = {0, 0, 0, 0.0};
  112. x = 0.58 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  113. y = 0.8 - (1 / 25);
  114. w = (6.25 / 40);
  115. h = (1 / 25);
  116. };
  117. class TeleportHere : Life_RscButtonMenu {
  118. idc = 2907;
  119. text = "$STR_Admin_TpHere";
  120. onButtonClick = "[] call life_fnc_adminTpHere;";
  121. colorBackground[] = {0, 0, 0, 0.0};
  122. x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  123. y = 0.8;
  124. w = (6.25 / 40);
  125. h = (1 / 25);
  126. };
  127. class God : Life_RscButtonMenu {
  128. idc = 2908;
  129. text = "$STR_Admin_God";
  130. onButtonClick = "[] call life_fnc_adminGodMode;";
  131. colorBackground[] = {0, 0, 0, 0.0};
  132. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  133. y = 0.8;
  134. w = (6.25 / 40);
  135. h = (1 / 25);
  136. };
  137. class Freeze : Life_RscButtonMenu {
  138. idc = 2909;
  139. text = "$STR_Admin_Freeze";
  140. onButtonClick = "[] call life_fnc_adminFreeze;";
  141. colorBackground[] = {0, 0, 0, 0.0};
  142. x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  143. y = 0.8;
  144. w = (6.25 / 40);
  145. h = (1 / 25);
  146. };
  147. class Markers : Life_RscButtonMenu {
  148. idc = 2910;
  149. text = "$STR_Admin_Markers";
  150. onButtonClick = "[] spawn life_fnc_adminMarkers;";
  151. colorBackground[] = {0, 0, 0, 0.0};
  152. x = 0.42 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  153. y = 0.8;
  154. w = (6.25 / 40);
  155. h = (1 / 25);
  156. };
  157. class Debug : Life_RscButtonMenu {
  158. idc = 2911;
  159. text = "$STR_Admin_Debug";
  160. onButtonClick = "[] call life_fnc_adminDebugCon;";
  161. colorBackground[] = {0, 0, 0, 0.0};
  162. x = 0.58 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  163. y = 0.8;
  164. w = (6.25 / 40);
  165. h = (1 / 25);
  166. };
  167. class Heal : Life_RscButtonMenu {
  168. idc = 2912;
  169. text = "$STR_Admin_Heal";
  170. onButtonClick = "[] call life_fnc_adminHeal;";
  171. colorBackground[] = {0, 0, 0, 0.0};
  172. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  173. y = 0.8 - (1 / 25);
  174. w = (6.25 / 40);
  175. h = (1 / 25);
  176. };
  177.  
  178. class Feed : Life_RscButtonMenu {
  179. idc = 2913;
  180. text = "$STR_Admin_Feed";
  181. onButtonClick = "[] call life_fnc_adminFeed;";
  182. colorBackground[] = {0, 0, 0, 0.0};
  183. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  184. y = 0.8 - (1 / 25);
  185. w = (6.25 / 40);
  186. h = (1 / 25);
  187. };
  188.  
  189. class Restrain : Life_RscButtonMenu {
  190. idc = 2914;
  191. text = "$STR_Admin_Restrain";
  192. onButtonClick = "[] call life_fnc_adminRestrain;";
  193. colorBackground[] = {0, 0, 0, 0.0};
  194. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  195. y = 0.8 - (1 / 25);
  196. w = (6.25 / 40);
  197. h = (1 / 25);
  198. };
  199.  
  200. class UnRestrain : Life_RscButtonMenu {
  201. idc = 2915;
  202. text = "$STR_Admin_UnRestrain";
  203. onButtonClick = "[] call life_fnc_adminUnrestrain;";
  204. colorBackground[] = {0, 0, 0, 0.0};
  205. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  206. y = 0.8 - (1 / 25);
  207. w = (6.25 / 40);
  208. h = (1 / 25);
  209. };
  210.  
  211. class SeizeWeapons : Life_RscButtonMenu {
  212. idc = 2916;
  213. text = "$STR_Admin_SeizeWeapons";
  214. onButtonClick = "[] call life_fnc_adminSeizeWeapons;";
  215. colorBackground[] = {0, 0, 0, 0.0};
  216. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  217. y = 0.8 - (1 / 25);
  218. w = (6.25 / 40);
  219. h = (1 / 25);
  220. };
  221. class TeleportTo : Life_RscButtonMenu {
  222. idc = 2917;
  223. text = "$STR_Admin_TeleportTo";
  224. onButtonClick = "[] call life_fnc_adminTeleportTo;";
  225. colorBackground[] = {0, 0, 0, 0.0};
  226. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  227. y = 0.8 - (1 / 25);
  228. w = (6.25 / 40);
  229. h = (1 / 25);
  230. };
  231.  
  232. class Impound : Life_RscButtonMenu {
  233. idc = 2918;
  234. text = "$STR_Admin_Impound";
  235. onButtonClick = "[] call life_fnc_adminImpound;";
  236. colorBackground[] = {0, 0, 0, 0.0};
  237. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  238. y = 0.8 - (1 / 25);
  239. w = (6.25 / 40);
  240. h = (1 / 25);
  241. };
  242.  
  243. class Jail : Life_RscButtonMenu {
  244. idc = 2919;
  245. text = "$STR_Admin_Jail";
  246. onButtonClick = "[] call life_fnc_adminJail;";
  247. colorBackground[] = {0, 0, 0, 0.0};
  248. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  249. y = 0.8 - (1 / 25);
  250. w = (6.25 / 40);
  251. h = (1 / 25);
  252. };
  253.  
  254. class Invis : Life_RscButtonMenu {
  255. idc = 2920;
  256. text = "$STR_Admin_Invis";
  257. onButtonClick = "[] call life_fnc_adminInvis;";
  258. colorBackground[] = {0, 0, 0, 0.0};
  259. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  260. y = 0.8 - (1 / 25);
  261. w = (6.25 / 40);
  262. h = (1 / 25);
  263. };
  264. };
  265. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement