-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,setting_dropdown_transmit].cs2
42 lines (42 loc) · 1.3 KB
/
[clientscript,setting_dropdown_transmit].cs2
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
// 3855
[clientscript,setting_dropdown_transmit](int $int0, struct $struct1, int $comsubid2, int $comsubid3, int $comsubid4, component $component5, enum $enum6, int $int7, component $component8, component $component9, component $component10, component $component11, component $component12)
def_int $int13 = 0;
def_int $int14 = ~script3957($struct1);
if (cc_find($component5, $comsubid2) = ^true) {
if ($int0 = 2) {
$int13 = ~settings_get_dropdown($int7);
} else {
$int13 = ~settings_get_keybind($int7);
}
if ($int14 = 1) {
cc_setcolour(0xff981f);
} else {
cc_setcolour(0x9f9f9f);
}
cc_settext(enum(int, string, $enum6, $int13));
}
if (cc_find($component5, $comsubid3) = ^true) {
if ($int14 = 1) {
cc_setcolour(0xff981f);
} else {
cc_setcolour(0x9f9f9f);
}
}
if (~on_mobile = false & cc_find($component5, $comsubid4) = ^true) {
if ($int14 = 1) {
cc_setonmouseover("cc_settrans($component5, $comsubid4, 220, null)");
cc_setonmouseleave("cc_settrans($component5, $comsubid4, 255, null)");
} else {
cc_setonmouseover(null);
cc_setonmouseleave(null);
}
}
if (%varbit9657 = $int7 & $int14 = 0) {
cc_deleteall($component8);
cc_deleteall($component9);
cc_deleteall($component10);
cc_deleteall($component11);
cc_deleteall($component12);
if_setonop(null, $component9);
if_sethide(true, $component12);
}