View Single Post
Old 06.02.2007, 17:54   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

gg I have no idea but:
rand(X) means: random(X)
so if i put rand(10) it means I'm asking for a random number between 0 and 10.

rand(1)=0 or 1
rand(2)=0, 1 or 2

so... the probabilities of rand(1) == 0 are 50%
and the probabilities of rand(2) == 0 are 33%
m4rk is offline