Wait(Exponential(10)); if(Random()<0.33) S1(); else S2(); int pole[10] = { 10,10,20,20,20,30,30,30,30,30 }; //... X = pole[Random()*10]; Wait(Uniform(100,150));