04.07.2017, 16:04
I am trying to make a random number with numbers that I provide but I do not deal with the form.
Sorry for my bad english.
So far everything is correct but the question is, how can I create a randon with the number function in 1?.
+ Rep who help me.
pawn Код:
new Number[MAX_BUSINNES] = 0;
for (new i = 0; i < MAX_BUSINNES; i ++)
{
if (NegociosInfo[i][bizType] == 1)
{
Number[i] = 1;
}
}
// here would go random ...
So far everything is correct but the question is, how can I create a randon with the number function in 1?.
+ Rep who help me.