28.04.2010, 13:17
I don't know exactly what you mean:
But if you want Lotto = 1 until 49 then you can use this:
pawn Код:
new rand = random(49); // 49 is MAX so correct
if(rand < 47) rand += 3; // I don't know what you mean with this
Lotto(rand);// I think you mean: Lotto = rand;
pawn Код:
Lotto = random(49);