warning 217: 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: warning 217: loose indentation (
/showthread.php?tid=98464)
warning 217: loose indentation -
[HKS]dlegend - 21.09.2009
how do i fix a loose indentation
thanks
Re: warning 217: loose indentation -
_Vortex - 21.09.2009
Requirements
-Brain
-Pawno
Step one..
Indent your code
Step two..
compile your new properly intented code.
Problem fixed
Re: warning 217: loose indentation -
Mikep. - 21.09.2009
Quote:
Originally Posted by [HKS
dlegend ]
how do i fix a loose indentation
|
By indenting...?
Re: warning 217: loose indentation -
_Vortex - 21.09.2009
Quote:
Originally Posted by Mikep.
Quote:
Originally Posted by [HKS
dlegend ]
how do i fix a loose indentation
|
By indenting...?
|
PLS, HOW TO INDENTING?[/noobspeak]
Re: warning 217: loose indentation -
[HKS]dlegend - 21.09.2009
but to wat i can see it is indented
F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(516) : warning 217: loose indentation
F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(536) : warning 217: loose indentation
F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(2047) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
514 format(chat, sizeof(chat), "\n[%d:%d:%d]%s: %s", hour, minute, second, playrname, text);
515 ChatLog(chat);
516 {
517 switch (Lang[playerid])
518 {
Re: warning 217: loose indentation -
_Vortex - 21.09.2009
You need to
INDENT your code.
Ugh
Re: warning 217: loose indentation -
[LL]InstabiC - 21.09.2009
Indent
Quote:
set in from the margin; "Indent the paragraphs of a letter"
cut or tear along an irregular line so that the parts can later be matched for authentication; "indent the documents"
make a depression into; "The bicycle dented my car"
notch the edge of or make jagged
an order for goods to be exported or imported
indenture: bind by or as if by indentures, as of an apprentice or servant; "an indentured servant"
indentation: the space left between the margin and the start of an indented line
|
Re: warning 217: loose indentation -
SanMarinoRP - 21.09.2009
just use TAB to increase the space and done! WOLAH
Re: warning 217: loose indentation -
_Vortex - 21.09.2009
Quote:
Originally Posted by SanMarinoRP
just use TAB to increase the space and done! WOLAH
|
Mm. You also need to make sure you put the right amount of tabs -.o
Re: warning 217: loose indentation -
Hiitch - 21.09.2009
If your lazy and dont know where the Tab button is, or have a fear of using it (nabs)
then put
#pragma tabsize 0
at the top of your pawno file..