05.10.2016, 18:21
Teaching new programmers terrible ways to do something is terrible on its own. I may sound like a hypocrite since I made a Y_INI tutorial, but I never claimed it was for new programmers. Moreover, I still use .ini for other purposes and not necessarily to excessively read and write data which is not what it should be used for, btw.
And I don't know what your intentions were when you wrote this for-loop:
If you compile that, it will give you an error saying 'i' is undefined throughout the loop's body, because you're stopping the loop right after 'continue'. It will just loop from 0 to MAX_PLAYERS-1 without doing anything.
And I don't know what your intentions were when you wrote this for-loop:
PHP Code:
for(new i=0;i<MAX_PLAYERS; i++) continue;