Guest User

Untitled

a guest
Oct 26th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.75 KB | None | 0 0
  1. /*
  2. Antihack & AdminTools - Christian Lorenzen - www.infiSTAR.de
  3. #2692
  4. */
  5. class RscListBox_infiSTAR {
  6. access=0;
  7. type=5;
  8. style=0;
  9. font="PuristaLight";
  10. sizeEx=0.03;
  11. rowHeight=0;
  12. colorText[]={1,1,1,1};
  13. colorScrollbar[]={1,1,1,1};
  14. colorSelect[]={0,0,0,1};
  15. colorSelect2[]={1,0.5,0,1};
  16. colorSelectBackground[]={0.6,0.6,0.6,1};
  17. colorSelectBackground2[]={0.2,0.2,0.2,1};
  18. colorBackground[]={0,0,0,0.6};
  19. maxHistoryDelay=1.0;
  20. soundSelect[]={"",0.1,1};
  21. period=1;
  22. autoScrollSpeed=-1;
  23. autoScrollDelay=5;
  24. autoScrollRewind=0;
  25. arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
  26. arrowFull="#(argb,8,8,3)color(1,1,1,1)";
  27. shadow=0;
  28. colorDisabled[]={1,1,1,0.25};
  29. border=false;
  30. borderSize=0;
  31. class ScrollBar
  32. {
  33. arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
  34. arrowFull="#(argb,8,8,3)color(1,1,1,1)";
  35. border="#(argb,8,8,3)color(1,1,1,1)";
  36. color[]={1,1,1,0.6};
  37. colorActive[]={1,1,1,1};
  38. colorDisabled[]={1,1,1,0.3};
  39. thumb="#(argb,8,8,3)color(1,1,1,1)";
  40. };
  41. class ListScrollBar:ScrollBar
  42. {
  43. color[]={1,1,1,0.6};
  44. colorActive[]={1,1,1,1};
  45. colorDisabled[]={1,1,1,0.3};
  46. thumb="#(argb,8,8,3)color(1,1,1,1)";
  47. arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
  48. arrowFull="#(argb,8,8,3)color(1,1,1,1)";
  49. border="#(argb,8,8,3)color(1,1,1,1)";
  50. shadow=0;
  51. };
  52. };
  53. class RscText_infiSTAR {
  54. access=0;
  55. idc=-1;
  56. type=0;
  57. style=0;
  58. linespacing=1;
  59. colorBackground[]={0,0,0,0};
  60. colorText[]={0.84,0.07,0,1};
  61. shadow=1;
  62. font="PuristaBold";
  63. sizeex=0.0400;
  64. fixedWidth=0;
  65. };
  66. class RscEdit_infiSTAR {
  67. access=0;
  68. type=2;
  69. style=0;
  70. colorBackground[]={0,0,0,0.6};
  71. colorText[]={1,1,1,1};
  72. colorSelection[]={1,1,1,0.25};
  73. colorDisabled[]={1,1,1,0};
  74. font="PuristaBold";
  75. sizeEx=0.04;
  76. autocomplete="";
  77. text="";
  78. size=0.2;
  79. shadow=0;
  80. };
  81. class RscButton_infiSTAR {
  82. access=0;
  83. idc=-1;
  84. type=1;
  85. style=0;
  86. text="";
  87. action="";
  88. colorText[]={1,1,1,0.9};
  89. colorDisabled[]={0.6,0.1,0.3,0};
  90. colorBackground[]={0,0,0,0.8};
  91. colorBackgroundDisabled[]={0,0.0,0};
  92. colorBackgroundActive[]={0.15,0.35,0.55,0.7};
  93. colorFocused[]={0.58,0.05,0,0.7};
  94. colorShadow[]={0.023529,0,0.0313725,1};
  95. colorBorder[]={0.023529,0,0.0313725,1};
  96. soundEnter[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
  97. soundPush[]={"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
  98. soundClick[]={"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
  99. soundEscape[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
  100. shadow=0;
  101. font="PuristaMedium";
  102. sizeEx=0.02921;
  103. offsetX=0.003;
  104. offsetY=0.003;
  105. offsetPressedX=0.002;
  106. offsetPressedY=0.002;
  107. borderSize=0;
  108. };
  109. class RscHTML_infiSTAR {
  110. colorText[]={1,1,1,1};
  111. colorBold[]={1,1,1,0.75};
  112. colorLink[]={"63/255","212/255","252/255",1};
  113. colorLinkActive[]={"63/255","212/255","252/255",0.75};
  114. colorBackground[]={0,0,0,0};
  115. colorPicture[]={1,1,1,1};
  116. colorPictureBorder[]={0,0,0,0};
  117. colorPictureLink[]={1,1,1,1};
  118. colorPictureSelected[]={1,1,1,1};
  119. hppversion=3;
  120. filename="";
  121. sizeEx=0.03921;
  122. type=9;
  123. style=0;
  124. prevPage="\ca\ui\data\arrow_left_ca.paa";
  125. nextPage="\ca\ui\data\arrow_right_ca.paa";
  126. shadow=2;
  127. class def {
  128. font="PuristaMedium";
  129. fontBold="PuristaBold";
  130. align="left";
  131. };
  132. class H1:def {
  133. sizeEx="38 * pixelH";
  134. };
  135. class H2:def {
  136. sizeEx="32 * pixelH";
  137. };
  138. class H3:def {
  139. sizeEx="26 * pixelH";
  140. };
  141. class H4:def {
  142. sizeEx="20 * pixelH";
  143. };
  144. class H5:def {
  145. sizeEx="17 * pixelH";
  146. };
  147. class H6:def {
  148. sizeEx="15 * pixelH";
  149. };
  150. class P:def {
  151. sizeEx="18 * pixelH";
  152. };
  153. };
  154. class RscEdit_infiSTAR_multi:RscEdit_infiSTAR {
  155. idc=1339;
  156. x=0.1 * safezoneW + safezoneX;
  157. y=0.038 * safezoneH + safezoneY;
  158. w=0.658333 * safezoneW;
  159. h=(0.143 * safezoneH)*3;
  160. font="EtelkaMonospacePro";
  161. colorText[]={0.95,0.95,0.95,1};
  162. style=16;
  163. sizeEx="0.65 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  164. show=1;
  165. };
  166. class RscEdit_infiSTAR_ss:RscEdit_infiSTAR {
  167. x=0;
  168. y=(safeZoneY + 0.01)+1;
  169. w=1;
  170. h=0.05;
  171. idc=1380;
  172. font="EtelkaMonospacePro";
  173. colorText[]={0.95,0.95,0.95,1};
  174. sizeEx="0.65 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  175. show=1;
  176. autocomplete="scripting";
  177. };
  178. class infiSTAR_EDITBOX
  179. {
  180. idd=-1341;
  181. movingenable=true;
  182. class controls
  183. {
  184. class RscEditMultiSTAR:RscEdit_infiSTAR_multi
  185. {
  186. idc=1336;
  187. x=0.25;
  188. y=0.25;
  189. w=0.5;
  190. h=0.5;
  191. };
  192. };
  193. };
  194. class infiSTAR_EDITBOX2
  195. {
  196. idd=-1341;
  197. movingenable=true;
  198. class controls
  199. {
  200. class RscEditMultiSTAR:RscEdit_infiSTAR_multi{autocomplete="scripting";};
  201. class RscEditSingle1STAR:RscEdit_infiSTAR_ss{idc=1380;};
  202. class RscEditSingle2STAR:RscEdit_infiSTAR_ss{idc=1381;};
  203. class RscEditSingle3STAR:RscEdit_infiSTAR_ss{idc=1382;};
  204. class RscEditSingle4STAR:RscEdit_infiSTAR_ss{idc=1383;};
  205. class infi_LIST1384:RscListBox_infiSTAR{idc=1384;x=-0.25;y=0.2;w=0.25;h=0.9;sizeEx=0.027;};
  206. };
  207. };
  208. class infiSTAR_CHAT
  209. {
  210. idd=-1340;
  211. movingenable=false;
  212. onKeyDown="call fnc_chat_onKeyDown;";
  213. class controls
  214. {
  215. class RscListbox_1500:RscListBox_infiSTAR
  216. {
  217. idc = 1500;
  218. x = 0.133846 * safezoneW + safezoneX;
  219. y = 0.0929318 * safezoneH + safezoneY;
  220. w = 0.165027 * safezoneW;
  221. h = 0.792133 * safezoneH;
  222. onLoad="uiNamespace setVariable ['chat_playerlist', _this select 0];call fnc_fill_chat_playerlist;(_this select 0) lbSetCurSel 0;";
  223. onLBSelChanged="call fnc_chat_onLBSelChanged;";
  224. };
  225. class RscListbox_1501:RscListBox_infiSTAR
  226. {
  227. idc = 1501;
  228. x = 0.298873 * safezoneW + safezoneX;
  229. y = 0.0929318 * safezoneH + safezoneY;
  230. w = 0.505396 * safezoneW;
  231. h = 0.71512 * safezoneH;
  232. sizeEx=0.03;
  233. onLoad="uiNamespace setVariable ['chat_msgbox', _this select 0];call fnc_fill_chat_history;";
  234. };
  235. class RscEdit_1401:RscEdit_infiSTAR_multi
  236. {
  237. idc = 1401;
  238. x = 0.298873 * safezoneW + safezoneX;
  239. y = 0.808052 * safezoneH + safezoneY;
  240. w = 0.505396 * safezoneW;
  241. h = 0.0770129 * safezoneH;
  242. onLoad="uiNamespace setVariable ['chat_inputfield', _this select 0];";
  243. };
  244. class RscButton_1600:RscButton_infiSTAR
  245. {
  246. idc = 1600;
  247. text = "close";
  248. x = 0.752698 * safezoneW + safezoneX;
  249. y = 0.885064 * safezoneH + safezoneY;
  250. w = 0.051571 * safezoneW;
  251. h = 0.0330055 * safezoneH;
  252. action = "(findDisplay -1340) closeDisplay 0;";
  253. };
  254. class RscButton_1601:RscButton_infiSTAR
  255. {
  256. idc = 1601;
  257. text = "send";
  258. x = (0.752698 * safezoneW + safezoneX)-((0.051571 * safezoneW)*1.1);
  259. y = 0.885064 * safezoneH + safezoneY;
  260. w = 0.051571 * safezoneW;
  261. h = 0.0330055 * safezoneH;
  262. action = "call fnc_chat_send;";
  263. };
  264. class RscButton_1602:RscButton_infiSTAR
  265. {
  266. idc = 1602;
  267. text = "refresh list";
  268. x = 0.133846 * safezoneW + safezoneX;
  269. y = 0.885064 * safezoneH + safezoneY;
  270. w = 0.051571 * safezoneW;
  271. h = 0.0330055 * safezoneH;
  272. action = "call fnc_fill_chat_playerlist;";
  273. };
  274. class RscText_1000:RscText_infiSTAR
  275. {
  276. idc = 1000;
  277. x = 0.133846 * safezoneW + safezoneX;
  278. y = 0.0599262 * safezoneH + safezoneY;
  279. w = 0.670423 * safezoneW;
  280. h = 0.0330055 * safezoneH;
  281. colorText[]={1,1,1,0.9};
  282. colorBackground[]={0,0,0,0.6};
  283. text = "Chatpartner";
  284. onLoad="uiNamespace setVariable ['chat_text1', _this select 0];";
  285. };
  286. };
  287. };
  288. class infiSTAR_AdminMenu
  289. {
  290. idd=-1338;
  291. movingenable=false;
  292. controls[]=
  293. {
  294. infi_TXT2,
  295. infi_BTN10,
  296. infi_BTN11,
  297. infi_BTN12,
  298. infi_LIST1500,
  299. infi_LIST1501,
  300. infi_BTN20,
  301. infi_BTN21,
  302. infi_BTN23,
  303. infi_BTN24,
  304. infi_BTN25,
  305. infi_EDIT1,
  306. infi_EDIT2,
  307. infi_BTN36,
  308. infi_BTN37,
  309. infi_BTN38,
  310. infi_HTML_1
  311. };
  312. class infi_LIST1500:RscListBox_infiSTAR
  313. {
  314. idc=1500;
  315. x=4.99852e-005 * safezoneW + safezoneX;
  316. y=0.0617197 * safezoneH + safezoneY;
  317. w=0.189063 * safezoneW;
  318. h=0.938333 * safezoneH;
  319. };
  320. class infi_LIST1501:RscListBox_infiSTAR
  321. {
  322. idc=1501;
  323. x=0.188975 * safezoneW + safezoneX;
  324. y=0.0617197 * safezoneH + safezoneY;
  325. w=0.344271 * safezoneW;
  326. h=0.945999 * safezoneH;
  327. };
  328. class infi_EDIT1:RscEdit_infiSTAR
  329. {
  330. idc=100;
  331. text="";
  332. x=0.1964 * safezoneW + safezoneX;
  333. y=0.125933 * safezoneH + safezoneY;
  334. w=0.326563 * safezoneW;
  335. h=0.044 * safezoneH;
  336. };
  337. class infi_EDIT2:RscEdit_infiSTAR_multi
  338. {
  339. idc=103;
  340. show=0;
  341. };
  342. class infi_TXT2:RscText_infiSTAR
  343. {
  344. idc=2;
  345. text="infiSTAR.de";
  346. x=-5.31323e-005 * safezoneW + safezoneX;
  347. y=-7.50085e-005 * safezoneH + safezoneY;
  348. w=1 * safezoneW;
  349. h=0.0341667 * safezoneH;
  350. colorText[]={1,1,1,0.9};
  351. colorBackground[]={0.56,0.04,0.04,1};
  352. };
  353. class infi_HTML_1:RscHTML_infiSTAR
  354. {
  355. idc=1;
  356. x=0.535 * safezoneW + safezoneX;
  357. y=0.06 * safezoneH + safezoneY;
  358. w=0.40 * safezoneW;
  359. h=0.35 * safezoneH;
  360. onLoad="uiNamespace setVariable ['RscHTML_infiSTAR_Admin', _this select 0]";
  361. onUnload="uiNamespace setVariable ['RscHTML_infiSTAR_Admin', displayNull]";
  362. };
  363. class infi_BTN10:RscButton_infiSTAR
  364. {
  365. idc=10;
  366. text="Alphabet";
  367. x=0.005 + safezoneX;
  368. y=0.0379694 * safezoneH + safezoneY;
  369. w=0.06 * safezoneW;
  370. h=0.02 * safezoneH;
  371. action="SortRangePlease=nil;SortAlphaPlease=true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
  372. };
  373. class infi_BTN11:RscButton_infiSTAR
  374. {
  375. idc=11;
  376. text="Groups";
  377. x=0.01 + safezoneX + (0.06 * safezoneW);
  378. y=0.0379694 * safezoneH + safezoneY;
  379. w=0.06 * safezoneW;
  380. h=0.02 * safezoneH;
  381. action="SortAlphaPlease=nil;SortRangePlease=nil;SortGroupsPlease=true;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
  382. };
  383. class infi_BTN12:RscButton_infiSTAR
  384. {
  385. idc=12;
  386. text="Range";
  387. x=0.015 + safezoneX + (0.06 * safezoneW)*2;
  388. y=0.0379694 * safezoneH + safezoneY;
  389. w=0.06 * safezoneW;
  390. h=0.02 * safezoneH;
  391. action="SortAlphaPlease=nil;SortRangePlease=true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
  392. };
  393. class infi_BTN20:RscButton_infiSTAR
  394. {
  395. idc=20;
  396. default="true";
  397. text="MainMenu";
  398. x=0.202072 * safezoneW + safezoneX;
  399. y=0.0379694 * safezoneH + safezoneY;
  400. w=0.0625001 * safezoneW;
  401. h=0.02 * safezoneH;
  402. };
  403. class infi_BTN21:RscButton_infiSTAR
  404. {
  405. idc=21;
  406. text="SpawnMenu";
  407. x=0.287975 * safezoneW + safezoneX;
  408. y=0.0379694 * safezoneH + safezoneY;
  409. w=0.0625001 * safezoneW;
  410. h=0.02 * safezoneH;
  411. };
  412. class infi_BTN23:RscButton_infiSTAR
  413. {
  414. idc=23;
  415. text="AHLog";
  416. x=0.373981 * safezoneW + safezoneX;
  417. y=0.0379694 * safezoneH + safezoneY;
  418. w=0.0625001 * safezoneW;
  419. h=0.02 * safezoneH;
  420. };
  421. class infi_BTN24:RscButton_infiSTAR
  422. {
  423. idc=24;
  424. text="AdminLog";
  425. x=0.459884 * safezoneW + safezoneX;
  426. y=0.0379694 * safezoneH + safezoneY;
  427. w=0.0625001 * safezoneW;
  428. h=0.02 * safezoneH;
  429. };
  430. class infi_BTN25:RscButton_infiSTAR
  431. {
  432. idc=25;
  433. x=0.535 * safezoneW + safezoneX + (0.15 * safezoneW);
  434. y=0.0379694 * safezoneH + safezoneY;
  435. w=0.0625001 * safezoneW;
  436. h=0.02 * safezoneH;
  437. action="call fnc_btn_html";
  438. };
  439. class infi_BTN36:RscButton_infiSTAR
  440. {
  441. idc=36;
  442. text="Items";
  443. x=0.219294 * safezoneW + safezoneX;
  444. y=0.0819514 * safezoneH + safezoneY;
  445. w=0.0916667 * safezoneW;
  446. h=0.0329999 * safezoneH;
  447. };
  448. class infi_BTN37:RscButton_infiSTAR
  449. {
  450. idc=37;
  451. text="Vehicles";
  452. x=0.316644 * safezoneW + safezoneX;
  453. y=0.0819514 * safezoneH + safezoneY;
  454. w=0.0916667 * safezoneW;
  455. h=0.0329999 * safezoneH;
  456. };
  457. class infi_BTN38:RscButton_infiSTAR
  458. {
  459. idc=38;
  460. text="Trader";
  461. x=0.414097 * safezoneW + safezoneX;
  462. y=0.0819514 * safezoneH + safezoneY;
  463. w=0.0916667 * safezoneW;
  464. h=0.0329999 * safezoneH;
  465. };
  466. };
  467. class CfgCommands
  468. {
  469. allowedHTMLLoadURIs[]={"http://*"};
  470. };
Add Comment
Please, Sign In to add comment