SA-MP Forums Archive
Help ! - 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: Help ! (/showthread.php?tid=157149)



Help ! - Danielo - 05.07.2010

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.



Re: Help ! - Matite - 05.07.2010

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.





Re: Help ! - bartje01 - 05.07.2010

Under #include <a_samp>

#pragma tabsize 0

DO that and you won't get that warning ever again


Re: Help ! - Matite - 05.07.2010

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.


Re: Help ! - Killa_ - 05.07.2010

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