Posts: 1,419
Threads: 264
Joined: Jan 2009
Reputation:
0
Hey guys. I see that many of you still post the "warning 217: loose indentation" warning.
There is a code that will stop this forever. Yea. You read that good. stops forever!.
Just go to the top of your script.
under your includes put this:
#pragma tabsize 0
This will ignore the spaces warning.
Posts: 2,938
Threads: 162
Joined: May 2010
OFFTOPIC:loose indentation is not always what you think it is it can be a different error<.<
ONTOPIC: sweet tut
post this link in all those threads>.<
Posts: 2,034
Threads: 153
Joined: Jan 2009
Reputation:
0
#pragma tabsize 0
Is a really lazy way to indent your script. I think I heard once that if you do this your server will run like crap sometimes. Not to mention your script will look like crap.
Posts: 1,419
Threads: 264
Joined: Jan 2009
Reputation:
0
I didn't knew there are other errors with lose indentifitation :P
But like BP13 says: Your script will look like crap :P There you just got a point.
But to take away the warning it works.
I just made this so people won't spam with: Ah I got this warning bla bla :P
Posts: 918
Threads: 7
Joined: Aug 2007
Quote:
Originally Posted by BP13
#pragma tabsize 0
Is a really lazy way to indent your script. I think I heard once that if you do this your server will run like crap sometimes. Not to mention your script will look like crap.
|
Well you shouldn't be getting that error in the first place, The fact you are shows how crappy you are at understanding this warning and how to solve it without patching/ignoring it.