Help !
#1

I compiled that :
http://pastebin.com/f112dd781
and gives me that
Код:
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(64) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(70) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(89) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(130) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(133) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(140) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(147) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(156) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(203) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(207) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(232) : warning 217: loose indentation
C:\Documents and Settings\Danielo\Desktop\ZRP\SA-MP\filterscripts\revive.pwn(253) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Warnings.
Reply
#2

They are warnings telling you that your indentation, the TAB spacing at the front of each line, is not "perfect" in PAWNs opinion (putting it very simply).

You should spend some time and make the indentation match: look at each of the lines it tells you.

You can safely ignore these warnings... the script will still run fine.


Reply
#3

Under #include <a_samp>

#pragma tabsize 0

DO that and you won't get that warning ever again
Reply
#4

Quote:
Originally Posted by bartje01
Посмотреть сообщение
Under #include <a_samp>

#pragma tabsize 0

DO that and you won't get that warning ever again
Yes that will work but it doesn't really teach him how to fix the actual problem... it just allows him to ignore it and not worry about learning to indent code correctly.
Reply
#5

Auto indent:
http://boylett.com/scripts/autoindent.php
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)