-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,script733].cs2
65 lines (65 loc) · 2.12 KB
/
[clientscript,script733].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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// 733
[clientscript,script733](int $int0, int $int1, int $int2, int $int3, int $int4, int $int5, int $int6, int $int7)
if ($int0 > 0) {
if_sethide(false, interface_65:56);
if_settext(tostring($int0), interface_65:56);
} else {
if_sethide(true, interface_65:56);
}
if_settext(tostring($int1), interface_65:58);
if_settext(tostring($int2), interface_65:60);
if ($int4 > 0) {
if_sethide(false, interface_65:71);
if_settext(tostring($int4), interface_65:71);
} else {
if_sethide(true, interface_65:71);
}
if_settext(tostring($int5), interface_65:73);
if_settext(tostring($int6), interface_65:75);
def_int $int8 = calc($int0 + $int1 + $int2);
def_int $int9 = calc($int4 + $int5 + $int6);
if_settext(tostring($int8), interface_65:53);
if_settext(tostring($int9), interface_65:68);
if ($int0 > 0) {
if_sethide(false, interface_65:54);
} else {
if_sethide(true, interface_65:54);
}
if ($int4 > 0) {
if_sethide(false, interface_65:69);
} else {
if_sethide(true, interface_65:69);
}
if ($int5 > 0) {
if_sethide(false, interface_65:124);
} else {
if_sethide(true, interface_65:124);
}
if ($int3 > 0 | $int7 > 0) {
if_sethide(true, interface_65:80);
if_sethide(false, interface_65:83);
if_settext("Redemption in progress", interface_65:84);
if_setcolour(0xff981f, interface_65:84);
if_sethide(true, interface_65:85);
if_sethide(false, interface_65:88);
if_settext("Redemption in progress", interface_65:89);
if_setcolour(0xff981f, interface_65:89);
} else if (calc($int8 + $int9) > 0) {
if_sethide(false, interface_65:80);
if_sethide(true, interface_65:83);
if_settext("Redeem membership", interface_65:84);
if_setcolour(^white, interface_65:84);
if_sethide(false, interface_65:85);
if_sethide(true, interface_65:88);
if_settext("Redeem name change", interface_65:89);
if_setcolour(^white, interface_65:89);
} else {
if_sethide(true, interface_65:80);
if_sethide(false, interface_65:83);
if_settext("Nothing to redeem", interface_65:84);
if_setcolour(0xff981f, interface_65:84);
if_sethide(true, interface_65:85);
if_sethide(false, interface_65:88);
if_settext("Nothing to redeem", interface_65:89);
if_setcolour(0xff981f, interface_65:89);
}