what is this ? - 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)
+--- Thread: what is this ? (
/showthread.php?tid=329178)
what is this ? -
Bect - 27.03.2012
Код:
#pragma tabsize 0
#pragma dynamic 145000
Re: what is this ? -
Fires - 27.03.2012
#pragma tabsize is used to avoid loose identation warning
i thins also pragma dynamic is used for the same
Re: what is this ? -
Vince - 27.03.2012
#pragma tabsize is for people who are lazy and can't be bothered to indent. #pragma dynamic is used to increase the size of the stack/heap (place where variables get stored), usually done because of poor resource management.
Re: what is this ? -
Bect - 27.03.2012
Код:
warning 217: loose indentation
It is something bad ?
Re: what is this ? -
JiHost - 27.03.2012
Quote:
Originally Posted by Bect
Код:
warning 217: loose indentation
It is something bad ?
|
No, it's just message warning you your lines are not aligned right.
Re: what is this ? -
captainjohn - 27.03.2012
Quote:
Originally Posted by Bect
Код:
warning 217: loose indentation
It is something bad ?
|
Adding this under your includes doesn't get rid of your problems, it just hides them.
You can get some tools that help you tidy your script up if needed.
Re: what is this ? -
emokidx - 27.03.2012
https://sampforum.blast.hk/showthread.php?tid=328915
btw i suggest you to indent your code instead of #pragma tabsize , it looks neater and you can find misplaced brackets more easily.
Re: what is this ? -
Bect - 27.03.2012
Thank you all.I have given to all reputation. Thank you !