[ajuda] Random !
#3

pawn Код:
MakeNumber()
{
    Number[0] = random(49);
    Number[1] = random(49);
    Number[2] = random(49);
    Number[3] = random(49);
    Number[4] = random(49);
    Number[5] = random(10);
    Number[6] = random(10);
    for(new i = 0; i <= 4; ++i ) {
        if(Number[i] == Number[i])  {
            Number[i] = Random(49);
        }
    }      
   if(Number[5] == Number[6])
      Number[5] = random(10);  
}
Reply


Messages In This Thread
[ajuda] Random ! - by Rick_DR - 03.03.2012, 00:58
Re: [ajuda] Random ! - by GuiihCamargo - 03.03.2012, 02:50
Re: [ajuda] Random ! - by Ricop522 - 03.03.2012, 03:29
Re: [ajuda] Random ! - by DarkScripter - 03.03.2012, 03:50
Re: [ajuda] Random ! - by Ricop522 - 03.03.2012, 04:28
Re: [ajuda] Random ! - by DarkScripter - 03.03.2012, 04:49
Re: [ajuda] Random ! - by Rick_DR - 03.03.2012, 12:30
Re: [ajuda] Random ! - by Ricop522 - 03.03.2012, 14:58
Re: [ajuda] Random ! - by CyNiC - 03.03.2012, 15:57
Re: [ajuda] Random ! - by rodrigooo - 03.03.2012, 16:15

Forum Jump:


Users browsing this thread: 2 Guest(s)