Advertisement
theiotlord

Ghetto Cooldown Function [C#]

Nov 17th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. BUTTONTHATSTARTSATTACKHERE.Text = ("Cooldown Started 30s");
  2. BUTTONTHATCLOSESAPP.Enabled = false;
  3. timer1.Interval = 30000; // Currently set to 30 seconds
  4. timer2.Start();
  5.  
  6. // Inside the timer
  7. BUTTONTHATSTARTSATTACKHERE.Text = ("Start");
  8. BUTTONTHATCLOSESAPP.Enabled = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement