End #pragma?
#1

Is there a way to determine a #pragma scope?

For example, if i put
pawn Код:
#pragma tabsize 0
it will remove the indentation warnings.

But what if i wanted for it to be valid just in the scope I put?

(For example; i have lines in code for mappings only, when i paste the mappings code it doesnt auto indent, and doing it myself would just waste time.I just need the indentation warnings to be removed in the lines where the mapping code is)
Reply
#2

Yeah try put #pragma tabsize 0 where your code starts.
and #pragma tabsize 4 where it ends
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)