getarg - function
#3

pawn Код:
stock ReturnRandomPolice( num1, num2 )
{
    new
        rand = random( num2 - num1 ) + num1
    ;
    if( rand == num1 || rand == num2 ) rand = random( num2 - num1 ) + num1;
    return rand;
}
Reply


Messages In This Thread
getarg - function - by Kyle - 19.11.2012, 12:22
Re: getarg - function - by [HK]Ryder[AN] - 19.11.2012, 12:53
Re: getarg - function - by Konstantinos - 19.11.2012, 13:14
Re: getarg - function - by Kyle - 19.11.2012, 13:44
Re: getarg - function - by Kyle - 19.11.2012, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)