Advertisement
Bagura32rus

Rapir Faerie

Nov 28th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ```C
  2. int i = 64;
  3. main {
  4. if(i>0){
  5. if(event_active(4)) combo_run(rapid);
  6. if(event_active(9)) ++i;
  7. if(event_active(10)) --i;
  8. set_val(9, 0);
  9. set_val(10, 0);
  10. if(event_release(9)||event_release(10)) printf("value: %d", i);
  11. }
  12. }
  13. combo rapid {
  14. set_val(4, 100);
  15. wait(30);
  16. set_val(4, 0);
  17. wait(i);
  18. if(is_active(4)) { combo_restart(rapid); }
  19. wait(0);
  20. }
  21. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement