stock bool:num_is_in_array(iNum) { for( new i = 0; i < sizeof(array); i++ ) { if( iNum == array[i] ) { return true } } return false }