19.02.2012, 11:26
You'll better do something like this:
pawn Код:
switch( random( 3 ) )
{
case ( 0 || 1 ): return true; // More than 50%
case 2: return false; // Less than 50%
}