SA-MP Forums Archive
What the heck is this error - 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: What the heck is this error (/showthread.php?tid=277663)



What the heck is this error - James_Bourne - 18.08.2011

Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(5207) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
error on this code:
Код:
    return 1;
}



Re: What the heck is this error - Kitten - 18.08.2011

show the code above return on you might be missing like ); you forgot to add ;


Re: What the heck is this error - ElieJabbour - 18.08.2011

Quote:
Originally Posted by James_Bourne
Посмотреть сообщение
Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(5207) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
error on this code:
Код:
    return 1;
}
Check if you added a bracket before the return 1; or if the previous code needed a ";" before it aswell


Re: What the heck is this error - James_Bourne - 18.08.2011

Its fixed
now i only need help with the thread GANG COLOR or something i dont remember thread name XD