Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```C
- int i = 64;
- main {
- if(i>0){
- if(event_active(4)) combo_run(rapid);
- if(event_active(9)) ++i;
- if(event_active(10)) --i;
- set_val(9, 0);
- set_val(10, 0);
- if(event_release(9)||event_release(10)) printf("value: %d", i);
- }
- }
- combo rapid {
- set_val(4, 100);
- wait(30);
- set_val(4, 0);
- wait(i);
- if(is_active(4)) { combo_restart(rapid); }
- wait(0);
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement