Make multiple randoms
#2

pawn Код:
for(new i; i<60; i++)
{
    new result = random(80);
}
...or:

pawn Код:
new result[60];
for(new i; i<60; i++)
{
    result[i] = random(80);
}
This will give you 60 numbers between 0 and 79
Reply


Messages In This Thread
Make multiple randoms - by DiamantEspace18 - 01.01.2015, 17:27
Re: Make multiple randoms - by Schneider - 01.01.2015, 17:30
Re : Make multiple randoms - by DiamantEspace18 - 01.01.2015, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)