11.03.2016, 20:20
Quote:
The code works, but the problem with mission ID 0 still occures, in the console it shows for example:
0 - 3 1 - 4 and it still sends mission ID 0, which i really can't explain. But that only happens rarely |
Change this:
Код:
p = tmp[random(count)];
Код:
p = tmp[random(count-1)];