30.01.2014, 10:25
Turns out I had bad code terminating the loop early due to the function never finishing, because I have a dedicated server I test this on and something outside of sa-mp decided not to send a value back and just infinitely looped, I didn't notice the asynchronous loop not returning to the sa-mp server, so it basically timed out the for loop and started again from player 0, under certain conditions it would return a value and the loop continued, which is why the erratic number pattern was printed into chat instead of a smooth 0/1/0/1/0/1/0/1
tl;dr, plugin code gone bad, didn't talk back to for loop, loop would fail and return itself ( safety or else it hangs the whole server ) and now it's fixed.
tl;dr, plugin code gone bad, didn't talk back to for loop, loop would fail and return itself ( safety or else it hangs the whole server ) and now it's fixed.