|
1 | 1 | // 2713 |
2 | 2 | [clientscript,1v1arena_hud_init](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5) |
3 | 3 | ~1v1arena_hud_toggle(false, $component1, $component2, $component3); |
4 | | -def_string $string0 = "Spectator"; |
| 4 | +def_string $op0 = "Spectator"; |
5 | 5 | cc_deleteall($component4); |
6 | | -def_int $int6 = ~options_button_off($component4, 0); |
7 | | -cc_create($component4, ^iftype_text, $int6); |
| 6 | +def_int $comsubid6 = ~options_button_off($component4, 0); |
| 7 | +cc_create($component4, ^iftype_text, $comsubid6); |
8 | 8 | cc_setsize(0, 0, ^setsize_minus, ^setsize_minus); |
9 | 9 | cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre); |
10 | 10 | cc_settextshadow(true); |
11 | 11 | cc_settextfont(p11_full); |
12 | 12 | cc_settextalign(^settextalign_centre, ^settextalign_centre, 0); |
13 | | -cc_settext($string0); |
14 | | -if_setop(1, $string0, $component4); |
| 13 | +cc_settext($op0); |
| 14 | +if_setop(1, $op0, $component4); |
15 | 15 | cc_setcolour(0xff981f); |
16 | 16 | if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component4); |
17 | 17 | if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component4); |
18 | 18 | if_setonop("1v1arena_hud_button(event_opindex, $component4, cc_getid)", $component4); |
19 | 19 | if_setontimer(null, $component4); |
20 | | -$string0 = "Start All"; |
| 20 | +$op0 = "Start All"; |
21 | 21 | cc_deleteall($component5); |
22 | | -$int6 = ~options_button_off($component5, 0); |
23 | | -cc_create($component5, ^iftype_text, $int6); |
| 22 | +$comsubid6 = ~options_button_off($component5, 0); |
| 23 | +cc_create($component5, ^iftype_text, $comsubid6); |
24 | 24 | cc_setsize(0, 0, ^setsize_minus, ^setsize_minus); |
25 | 25 | cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre); |
26 | 26 | cc_settextshadow(true); |
27 | 27 | cc_settextfont(p11_full); |
28 | 28 | cc_settextalign(^settextalign_centre, ^settextalign_centre, 0); |
29 | | -cc_settext($string0); |
30 | | -if_setop(1, $string0, $component5); |
| 29 | +cc_settext($op0); |
| 30 | +if_setop(1, $op0, $component5); |
31 | 31 | cc_setcolour(0xff981f); |
32 | 32 | if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component5); |
33 | 33 | if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component5); |
|
0 commit comments