getarg - function
#1

Edited.
Reply
#2

try this
pawn Код:
new rand = Random(sizeof(PoliceMissions));
if(rand == 2 || 5) return /*stock name here to start over again i guess*/
else return rand;
Reply
#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
#4

Completed.
Reply
#5

Completed this issue myself.

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)