Random numbers
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
They all have the same chance to be chosen. That's why it is called RANDOM.
Random number - A number generated from a large set of numbers, using an algorithm that gives every number an equal probability of occurring.
You use it like this

pawn Код:
new rand = random([b]300[/b]);
The less the bolded number is, the bigger changes is there for winning.
Reply


Messages In This Thread
Random numbers - by Jimbo01 - 01.02.2011, 18:08
Re: Random numbers - by Vince - 01.02.2011, 18:10
Re: Random numbers - by Niixie - 01.02.2011, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)