Pick 5 random numbers from array that cant be the same
#1

Hey I need help. I have numbers in an array. I am pulling 5 numbers out of there random. None of the numbers can be the same though. How can I do this? So far I made this:

http://pastebin.com/5KkbHzuZ

But thats doesnt work and it gives some errors on the while() line.

please someone help me
Reply


Messages In This Thread
Pick 5 random numbers from array that cant be the same - by s1k - 23.03.2011, 20:48
Re: Pick 5 random numbers from array that cant be the same - by Gamer_Z - 23.03.2011, 20:58
Re: Pick 5 random numbers from array that cant be the same - by s1k - 23.03.2011, 21:14
Re: Pick 5 random numbers from array that cant be the same - by Gamer_Z - 23.03.2011, 21:15
Re: Pick 5 random numbers from array that cant be the same - by Vince - 23.03.2011, 21:19
Re: Pick 5 random numbers from array that cant be the same - by s1k - 23.03.2011, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)