17.02.2012, 17:20
hellow all.
i tried to do a random for a public
i means like when i want to call the public it will be choose in random
i hope you understand me becuase my english is bad..
now for the code:
hope you understand me...
and thanx for all helpers
i tried to do a random for a public
i means like when i want to call the public it will be choose in random
i hope you understand me becuase my english is bad..
now for the code:
Код:
new rand = random(sizeof(RangeActions)); SetTimer(RangeActions[rand],1,false); RA = rand;
Код:
new RangeActions[] = {"RangeAction1","RangeAction2","RangeAction3","RangeAction4","RangeAction5"}; forward RangeAction1(); forward RangeAction2(); forward RangeAction3(); forward RangeAction4(); forward RangeAction5(); forward RangeAction6();
and thanx for all helpers