SA-MP Forums Archive
Loose Indentation - 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: Loose Indentation (/showthread.php?tid=166785)



Loose Indentation - Kevin_Joshen - 10.08.2010

Does loose indentation warnings ever make my script not work properly? like... make a certain function not work just right? or is it just saying the script looks sloppy?


Re: Loose Indentation - Cameltoe - 10.08.2010

It's saying that the script is looking sloppy, but won't make your script do bisarre stuff.

pawn Код:
#pragma tabsize 0
would stop giving this warning no matter how bad you are to indent. ( only making it worse for your selves )


Re: Loose Indentation - MWF2 - 10.08.2010

Draco blue released a tool which fixes your loose indent problems.

http://dracoblue.net/tidy/pawn/


Re: Loose Indentation - Ritchie999 - 10.08.2010

And boylett too

http://boylett.com/scripts/autoindent.php


Re: Loose Indentation - ikey07 - 10.08.2010

Quote:
Originally Posted by Kevin_Joshen
Посмотреть сообщение
Does loose indentation warnings ever make my script not work properly? like... make a certain function not work just right? or is it just saying the script looks sloppy?
And how you think?

with these warnings is easy to loose whole script if the {}{}{} is not matching or someone missing it can corrup whole script with 26 and 26 and 26 ......... errors.


DONT USE TOO MUCH COPY AND PASTE !!!


Re: Loose Indentation - DiddyBop - 10.08.2010

oh mi gawd, pls lurn to indent.