-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,slayer_rewards_tabs].cs2
31 lines (31 loc) · 1.51 KB
/
[proc,slayer_rewards_tabs].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
// 407
[proc,slayer_rewards_tabs](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5)
cc_deleteall($component0);
def_int $int6 = 0;
def_int $int7 = 0;
$int6, $int7 = ~slayer_rewards_tab($component0, $component1, "Unlock", $int6, $int7, $component1, $component2, $component3, $component4, $component5);
$int6, $int7 = ~slayer_rewards_tab($component0, $component2, "Extend", $int6, $int7, $component1, $component2, $component3, $component4, $component5);
$int6, $int7 = ~slayer_rewards_tab($component0, $component3, "Buy", $int6, $int7, $component1, $component2, $component3, $component4, $component5);
$int6, $int7 = ~slayer_rewards_tab($component0, $component4, "Tasks", $int6, $int7, $component1, $component2, $component3, $component4, $component5);
cc_create($component0, ^iftype_text, $int6);
cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_top);
cc_setsize($int7, 0, ^setsize_minus, ^setsize_minus);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_setcolour(0xff981f);
cc_settextshadow(true);
~slayer_rewards_setpoints;
cc_setonvartransmit("slayer_rewards_setpoints(event_com, event_comsubid){var661}");
if_sethide(false, $component5);
if ($component5 ! $component1) {
if_sethide(true, $component1);
}
if ($component5 ! $component2) {
if_sethide(true, $component2);
}
if ($component5 ! $component3) {
if_sethide(true, $component3);
}
if ($component5 ! $component4) {
if_sethide(true, $component4);
}