Ok, so i made this..
#2

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:
pawn Код:
random(max - min) + min;
Reply


Messages In This Thread
Ok, so i made this.. - by Strier - 18.04.2013, 00:57
Re: Ok, so i made this.. - by Krx17 - 18.04.2013, 01:14
Respuesta: Ok, so i made this.. - by Strier - 18.04.2013, 01:24
Respuesta: Ok, so i made this.. - by Strier - 18.04.2013, 01:38
Re: Respuesta: Ok, so i made this.. - by FalconX - 18.04.2013, 02:06
Re: Respuesta: Ok, so i made this.. - by Krx17 - 18.04.2013, 05:21

Forum Jump:


Users browsing this thread: 1 Guest(s)