Very very very small tutorial. lose indentifitation - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Very very very small tutorial. lose indentifitation (
/showthread.php?tid=161119)
Very very very small tutorial. lose indentifitation -
bartje01 - 18.07.2010
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.
Re: Very very very small tutorial. lose indentifitation -
Kar - 18.07.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>.<
Re: Very very very small tutorial. lose indentifitation -
BP13 - 18.07.2010
#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.
Re: Very very very small tutorial. lose indentifitation -
bartje01 - 18.07.2010
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
Re: Very very very small tutorial. lose indentifitation -
Mr187 - 18.07.2010
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.