Very very very small tutorial. lose indentifitation
#1

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.
Reply
#2

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>.<
Reply
#3

#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.
Reply
#4

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
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)