SA-MP Forums Archive
why give the warning - 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: why give the warning (/showthread.php?tid=150187)



why give the warning - Montis123 - 25.05.2010

I do not understand why the sound gives me the warning




command where they will be
if(strcmp(cmdtext, "/close", true) == 0)
{
if (PlayerToPoint(3.0, playerid,2305.688964,-16.088100,26.749599))// Bank
{
SetPlayerPos(playerid,2026.4064,1017.9352,10.8203) ;
SetPlayerInterior(playerid, 0);
}
return 1;
}
return 0;
}




Warning:
C:\Documents and Settings\Administrator\My Documents\SA-MP Server\filterscripts\nunama.pwn(35 : warning 217: loose indentation
C:\Documents and Settings\Administrator\My Documents\SA-MP Server\filterscripts\nunama.pwn(360) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.


358 line return 1;
360 line return 0;


Please help me.





Re: why give the warning - DevilRP - 25.05.2010

Put this under all the includes-
Код:
#pragma tabsize 0



Re: why give the warning - Montis123 - 25.05.2010

very thank you very much