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=113482)



Help! - juanrivas - 13.12.2009

I Keep getting this error that i cant fix it will be good if someone helps me
http://pastebin.com/f654a0d1e


Re: Help! - Faraday - 13.12.2009

what's the error you're getting?


Re: Help! - juanrivas - 13.12.2009

D:\Server\gamemodes\gangwar.pwn(489) : error 030: compound statement not closed at the end of file (started at line 391)


Re: Help! - Zamaroht - 13.12.2009

You are lacking a closing bracket at the end of /duty from what I can see.
Really, indentation helps to find bracket problems.

http://en.wikipedia.org/wiki/Indent_style

Pick your style and have fun!
I used to use Whitesmiths style, but I'm getting used to Allman style since it's more widenly used, and more readeable.


Re: Help! - juanrivas - 14.12.2009

I Cant do it would u think u could do it in pastebin


Re: Help! - Faraday - 14.12.2009

http://pastebin.com/m2a37bfb5

you don't need to #define a function, you need to forward it.
And also, I recommend you watch your indentation better, because it was a mess..


Re: Help! - juanrivas - 14.12.2009

Thank You Very Much