How to do it? [ADVANCE]
#2

the number "123456789" is 9 in lenght, so 10^9 in size as basis. you can do:
pawn Код:
100000000+random(900000000)
which gives any number ranging from 100000000 to 999999999. do this with 10^0:
1+random(9) equals 1,2,3,4,5,6,7,8,9, and
10+random(90) equals 10 to 99...
Reply


Messages In This Thread
How to do it? [ADVANCE] - by Not Applicable - 20.02.2012, 08:15
Re: How to do it? [ADVANCE] - by Babul - 20.02.2012, 08:31
Re: How to do it? [ADVANCE] - by Not Applicable - 20.02.2012, 08:37
Re: How to do it? [ADVANCE] - by Deduction - 20.02.2012, 09:03
Re: How to do it? [ADVANCE] - by Not Applicable - 20.02.2012, 10:13

Forum Jump:


Users browsing this thread: 1 Guest(s)