quick question

Post Reply
tarrant
Posts: 49
Joined: Thu Apr 15, 2010 10:36 pm

quick question

Post by tarrant »

Hi, just need some quick advice.
How should i go about creating a list of numbers from 1 to 99999, and pulling a random number out of this list on demand?

User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Re: quick question

Post by demonnic »

do you need it to be a list, or do you just need a random number from 1 to 99999?

if the latter, you want math.random(99999)

tarrant
Posts: 49
Joined: Thu Apr 15, 2010 10:36 pm

Re: quick question

Post by tarrant »

Just what i needed. Thanks!

Post Reply