What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Create a random WaitTimer

stevenr

Member
Joined
Jan 15, 2010
Messages
871
Reaction score
0
Hi I try to create a random WaitTimer but it will not work. Has someone an idea?

Code:
        Random rnd = new Random();
        int rndNumber = rnd.Next(6, 13);

        private readonly WaitTimer _randomWait = new WaitTimer(new TimeSpan(0, 0, rndNumber));
 
Back
Top