-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfiSTAR_Exile_AdminMenu.hpp
332 lines (332 loc) · 7.89 KB
/
infiSTAR_Exile_AdminMenu.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
/*
Antihack & AdminTools - ChristianLorenzen - www.infiSTAR.de-License: (CC)
#569
*/
class RscListBox_infiSTAR {
access=0;
type=5;
style=0;
font="PuristaLight";
sizeEx=0.03;
rowHeight=0;
colorText[]={1,1,1,1};
colorScrollbar[]={1,1,1,1};
colorSelect[]={0,0,0,1};
colorSelect2[]={1,0.5,0,1};
colorSelectBackground[]={0.6,0.6,0.6,1};
colorSelectBackground2[]={0.2,0.2,0.2,1};
colorBackground[]={0,0,0,0.6};
maxHistoryDelay=1.0;
soundSelect[]={"",0.1,1};
period=1;
autoScrollSpeed=-1;
autoScrollDelay=5;
autoScrollRewind=0;
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
shadow=0;
colorDisabled[]={1,1,1,0.25};
border=false;
borderSize=0;
class ScrollBar
{
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
border="#(argb,8,8,3)color(1,1,1,1)";
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
thumb="#(argb,8,8,3)color(1,1,1,1)";
};
class ListScrollBar:ScrollBar
{
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
thumb="#(argb,8,8,3)color(1,1,1,1)";
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
border="#(argb,8,8,3)color(1,1,1,1)";
shadow=0;
};
};
class RscText_infiSTAR {
access=0;
idc=-1;
type=0;
style=0;
linespacing=1;
colorBackground[]={0,0,0,0};
colorText[]={0.84,0.07,0,1};
shadow=1;
font="PuristaBold";
sizeex=0.0400;
fixedWidth=0;
};
class RscEdit_infiSTAR {
access=0;
type=2;
style=0;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
colorSelection[]={1,1,1,0.25};
colorDisabled[]={1,1,1,0};
font="PuristaBold";
sizeEx=0.04;
autocomplete="";
text="";
size=0.2;
shadow=0;
}
class RscButton_infiSTAR {
access=0;
idc=-1;
type=1;
style=0;
text="";
action="";
colorText[]={1,1,1,0.9};
colorDisabled[]={0.6,0.1,0.3,0};
colorBackground[]={0,0,0,0.8};
colorBackgroundDisabled[]={0,0.0,0};
colorBackgroundActive[]={0.15,0.35,0.55,0.7};
colorFocused[]={0.58,0.05,0,0.7};
colorShadow[]={0.023529,0,0.0313725,1};
colorBorder[]={0.023529,0,0.0313725,1};
soundEnter[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
soundPush[]={"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
soundClick[]={"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
soundEscape[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
shadow=0;
font="PuristaMedium";
sizeEx=0.02921;
offsetX=0.003;
offsetY=0.003;
offsetPressedX=0.002;
offsetPressedY=0.002;
borderSize=0;
};
class RscHTML_infiSTAR {
colorBackground[]={0,0,0,0.25};
colorText[] = {0.8784, 0.8471, 0.651, 1.0};
colorLink[] = {0.8784, 0.8471, 0.651, 1.0};
colorBold[] = {0.8784, 0.8471, 0.651, 1.0};
colorPicture[] = {0.8784, 0.8471, 0.651, 1.0};
colorPictureLink[] = {0.8784, 0.8471, 0.651, 1.0};
colorPictureSelected[] = {0.8784, 0.8471, 0.651, 1.0};
colorPictureBorder[] = {0.8784, 0.8471, 0.651, 1.0};
filename="";
colorLinkActive[] = {1, 0.537, 0, 1};
sizeEx = 0.03921;
type = 9;
style=0;
prevPage = "\ca\ui\data\arrow_left_ca.paa";
nextPage = "\ca\ui\data\arrow_right_ca.paa";
shadow = 2;
class H1 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921 * 6;
align = "left";
};
class H2 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921 * 5;
align = "left";
};
class H3 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921 * 4;
align = "left";
};
class H4 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921 * 3;
align = "left";
};
class H5 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921 * 2;
align = "left";
};
class H6 {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.03921;
align = "left";
};
class P {
font = "PuristaLight";
fontBold = "PuristaBold";
sizeEx = 0.02921;
align = "left";
};
};
class infiSTAR_AdminMenu
{
idd=-1338;
onLoad = "{if(isNil _x)then{(findDisplay 46) closeDisplay 0;closeDialog 0;};} forEach ['AH_HackLogArray','AH_SurvLogArray','AH_AdmiLogArray'];";
movingenable=false;
controls[]=
{
infi_TXT2,
infi_BTN10,
infi_BTN11,
infi_BTN12,
infi_LIST1500,
infi_LIST1501,
infi_BTN20,
infi_BTN21,
infi_BTN23,
infi_BTN24,
infi_EDIT100,
infi_BTN36,
infi_BTN37,
infi_BTN38,
infi_HTML_1
};
class infi_LIST1500: RscListBox_infiSTAR
{
idc = 1500;
x = 4.99852e-005 * safezoneW + safezoneX;
y = 0.0617197 * safezoneH + safezoneY;
w = 0.189063 * safezoneW;
h = 0.938333 * safezoneH;
};
class infi_LIST1501: RscListBox_infiSTAR
{
idc = 1501;
x = 0.188975 * safezoneW + safezoneX;
y = 0.0617197 * safezoneH + safezoneY;
w = 0.344271 * safezoneW;
h = 0.945999 * safezoneH;
};
class infi_EDIT100: RscEdit_infiSTAR
{
idc = 100;
text = "Search";
x = 0.1964 * safezoneW + safezoneX;
y = 0.125933 * safezoneH + safezoneY;
w = 0.326563 * safezoneW;
h = 0.044 * safezoneH;
};
class infi_TXT2: RscText_infiSTAR
{
idc = 2;
text = "infiSTAR.de";
x = -5.31323e-005 * safezoneW + safezoneX;
y = -7.50085e-005 * safezoneH + safezoneY;
w = 1 * safezoneW;
h = 0.0341667 * safezoneH;
colorText[] = {1,1,1,0.9};
colorBackground[] = {0.56,0.04,0.04,1};
};
class infi_HTML_1: RscHTML_infiSTAR
{
idc = 1;
x = 0.535 * safezoneW + safezoneX;
y = 0.06 * safezoneH + safezoneY;
w = 0.32 * safezoneW;
h = 0.25 * safezoneH;
colorBackground[] = {0,0,0,0};
onLoad = "if(!isNil'HTML_LOAD_URL')then{(_this select 0) htmlLoad HTML_LOAD_URL;};";
};
class infi_BTN10: RscButton_infiSTAR
{
idc = 10;
text = "Alphabet";
x = 0.005 + safezoneX;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.06 * safezoneW;
h = 0.02 * safezoneH;
action="SortRangePlease = nil;SortAlphaPlease = true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN11: RscButton_infiSTAR
{
idc = 11;
text = "Groups";
x = 0.01 + safezoneX + (0.06 * safezoneW);
y = 0.0379694 * safezoneH + safezoneY;
w = 0.06 * safezoneW;
h = 0.02 * safezoneH;
action="SortAlphaPlease = nil;SortRangePlease = nil;SortGroupsPlease = true;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN12: RscButton_infiSTAR
{
idc = 12;
text = "Range";
x = 0.015 + safezoneX + (0.06 * safezoneW)*2;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.06 * safezoneW;
h = 0.02 * safezoneH;
action="SortAlphaPlease = nil;SortRangePlease = true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN20: RscButton_infiSTAR
{
idc = 20;
default = "true";
text = "MainMenu";
x = 0.202072 * safezoneW + safezoneX;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.0625001 * safezoneW;
h = 0.02 * safezoneH;
};
class infi_BTN21: RscButton_infiSTAR
{
idc = 21;
text = "SpawnMenu";
x = 0.287975 * safezoneW + safezoneX;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.0625001 * safezoneW;
h = 0.02 * safezoneH;
};
class infi_BTN23: RscButton_infiSTAR
{
idc = 23;
text = "AHLog";
x = 0.373981 * safezoneW + safezoneX;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.0625001 * safezoneW;
h = 0.02 * safezoneH;
};
class infi_BTN24: RscButton_infiSTAR
{
idc = 24;
text = "AdminLog";
x = 0.459884 * safezoneW + safezoneX;
y = 0.0379694 * safezoneH + safezoneY;
w = 0.0625001 * safezoneW;
h = 0.02 * safezoneH;
};
class infi_BTN36: RscButton_infiSTAR
{
idc = 36;
text = "Items";
x = 0.219294 * safezoneW + safezoneX;
y = 0.0819514 * safezoneH + safezoneY;
w = 0.0916667 * safezoneW;
h = 0.0329999 * safezoneH;
};
class infi_BTN37: RscButton_infiSTAR
{
idc = 37;
text = "Vehicles";
x = 0.316644 * safezoneW + safezoneX;
y = 0.0819514 * safezoneH + safezoneY;
w = 0.0916667 * safezoneW;
h = 0.0329999 * safezoneH;
};
class infi_BTN38: RscButton_infiSTAR
{
idc = 38;
text = "Misc";
x = 0.414097 * safezoneW + safezoneX;
y = 0.0819514 * safezoneH + safezoneY;
w = 0.0916667 * safezoneW;
h = 0.0329999 * safezoneH;
};
};