18.04.2013, 01:14
So what you're saying is, with line 1, the code doesn't pick the right number or is there another problem?
That's not the right formula to choose a random number between min and mix.
It should be:
That's not the right formula to choose a random number between min and mix.
It should be:
pawn Код:
random(max - min) + min;