Error 030 - I need help!
#1

http://klutty.pastebin.com/m13e3d0

That is what I got, and I get one error.

Quote:
Originally Posted by Pawn Compiler
C:\Program\SAMP Server\filterscripts\ultimate.pwn(479) : error 030: compound statement not closed at the end of file (started at line 8
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
And here's what I read in the pawn-lang.pdf

Quote:
Originally Posted by pawn-lang.pdf
030 compound statement not closed at the end of file
An unexpected end of file occurred. One or more compound
statements are still unfinished (i.e. the closing brace “}” has not
been found).
But I can't get it to work! Help me please!
Reply
#2

Put one more } under return 0; at the end of your code
Reply
#3

Ah thanks heaps!

But now I get, a warning..

Quote:
Originally Posted by Pawno CC
C:\Program\SAMP Server\filterscripts\ultimate.pwn(454) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
I guess I can just ignore, But isnt it better not to?
Reply
#4

Quote:
Originally Posted by Klutty
Ah thanks heaps!

But now I get, a warning..

Quote:
Originally Posted by Pawno CC
C:\Program\SAMP Server\filterscripts\ultimate.pwn(454) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
I guess I can just ignore, But isnt it better not to?
you forgot to use
pawn Код:
return 0;
or
pawn Код:
return 1;
at the end of OnPlayerCommandText
Reply
#5

Quote:
Originally Posted by .:NoZer0:.
Quote:
Originally Posted by Klutty
Ah thanks heaps!

But now I get, a warning..

Quote:
Originally Posted by Pawno CC
C:\Program\SAMP Server\filterscripts\ultimate.pwn(454) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
..

I guess I can just ignore, But isnt it better not to?
you forgot to use
pawn Код:
return 0;
or
pawn Код:
return 1;
at the end of OnPlayerCommandText
I have return 0; at the end of it if you look at my pastebin post.
Reply
#6

Move your return 0; a } lower. I hope you understand...
Reply
#7

It works! THANKS SO MUCH CracK!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)