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



Loose Indentation Fixer - Hugh - 26.05.2009

I'm sure I saw this somewhere. Does anyone have a link? And YES i have searched.


Re: Loose Indentation Fixer - Djiango - 26.05.2009

I just searched & found...
http://forum.sa-mp.com/index.php?topic=95753.0


Re: Loose Indentation Fixer - Hugh - 26.05.2009

Uhhh.

No comment.


Thanks man.


Re: Loose Indentation Fixer - Burridge - 26.05.2009

Or, I think you can put this at the top of the script :S

pawn Код:
#pragma tabsize 0
Not 100% sure if i'm right.


Re: Loose Indentation Fixer - boylett - 26.05.2009

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


Re: Loose Indentation Fixer - Hugh - 26.05.2009

Quote:
Originally Posted by Burridge
Or, I think you can put this at the top of the script :S

pawn Код:
#pragma tabsize 0
Not 100% sure if i'm right.
Yep, that worked like a charm.

Thanks.


Re: Loose Indentation Fixer - Burridge - 26.05.2009

Aha, Thought it was useful for somthing xD


Re: Loose Indentation Fixer - MenaceX^ - 26.05.2009

Quote:
Originally Posted by Burridge
Or, I think you can put this at the top of the script :S

pawn Код:
#pragma tabsize 0
Not 100% sure if i'm right.
Huh? That sets the TAB on pawn to 0, it's usualy 4. (1 pressing TAB key does 4 spaces)


Re: Loose Indentation Fixer - GTA_Rules - 26.05.2009

#pragma tabsize 0 doesn't fix the warnings, it only hides them. Just fix the intendation


Re: Loose Indentation Fixer - miokie - 26.05.2009

Quote:
Originally Posted by Boylett (ServerZ.co.uk)
Damn, Boylett thats nice & useful