09.04.2012, 13:48

I dont fully understand the random function is there a way to make a random number between say 1 - 100?

[CODE] gamble - help please

09.04.2012, 13:48

I dont fully understand the random function is there a way to make a random number between say 1 - 100?

09.04.2012, 13:56

You can't generate random numbers b/w two specific numbers . random() only generate number from 0 to give number like :

pawn Код:

new num = random(100);//so here number will be from 0 to 100 , any number

random(100000);//from 0 to 100000

09.04.2012, 14:03

okay cool, I could still work with that, thanks mate

Users browsing this thread: 1 Guest(s)