[Tutorial] Admin system for beginners
#14

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:
PHP Code:
for(new i=0;i<MAX_PLAYERSi++) continue; 
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.
Reply


Messages In This Thread
Admin system for beginners - by Eoussama - 04.10.2016, 11:51
Re: Admin system for beginners - by Spmn - 04.10.2016, 12:33
Re: Admin system for beginners - by Eoussama - 04.10.2016, 14:03
Re: Admin system for beginners - by GoldenLion - 04.10.2016, 14:08
Re: Admin system for beginners - by Luis- - 04.10.2016, 14:12
Re: Admin system for beginners - by Eoussama - 04.10.2016, 14:16
Re: Admin system for beginners - by Luis- - 04.10.2016, 14:59
Re: Admin system for beginners - by Eoussama - 04.10.2016, 15:28
Re: Admin system for beginners - by Quinncell - 04.10.2016, 16:07
Re: Admin system for beginners - by J0sh... - 04.10.2016, 18:34
Re: Admin system for beginners - by Gorgeousmaniac - 05.10.2016, 06:14
Re: Admin system for beginners - by Quinncell - 05.10.2016, 10:43
Re: Admin system for beginners - by J0sh... - 05.10.2016, 15:35
Re: Admin system for beginners - by AndySedeyn - 05.10.2016, 18:21
Re: Admin system for beginners - by Stinged - 06.10.2016, 03:04

Forum Jump:


Users browsing this thread: 2 Guest(s)