stock bool Chance( iNum, iMult=100 ) return ( iNum * iMult >= random_num( 1, 100 * iMult ) );
if ( Chance( 5 ) ) { //... }