SA-MP Forums Archive
[Error/Help]Easy gates - 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: [Error/Help]Easy gates (/showthread.php?tid=205530)



[Error/Help]Easy gates - endjuru - 01.01.2011

Hello!I have smool problem!Buy my brain can't fix this !
Help me please!:S
I want create 3 gates buy i understand problem!
p.s bad English!
PASTEBIN LINK for SCRIPT
Error & Warning!
Код:
C:\Documents and Settings\Pwned user\Porn 18+\Baze.pwn(181) : warning 217: loose indentation
C:\Documents and Settings\Pwned user\Porn 18+\Baze.pwn(192) : error 030: compound statement not closed at the end of file (started at line 143)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: [Error/Help]Easy gates - Grim_ - 01.01.2011

I like your directory, 'Porn 18+', interesting.

Anyway, please show us lines 143-192. For the loose indention warning, the script is not aligned correctly, for example:
pawn Код:
if( a > b )
{
   function1( );
    function2( ); <- This line is "loosely indented"
   function3( );
}
Try to find a loose indention on line 181 and align it with the rest of your code.


Re: [Error/Help]Easy gates - Mean - 01.01.2011

Grim, he showed the pastebin link.
Repaired version:
http://pastebin.com/c4KxPcU9


Re: [Error/Help]Easy gates - endjuru - 01.01.2011

Mean THANKS :*!
Lock please!