SA-MP Forums Archive
hmmmm - 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)
+--- Thread: hmmmm (/showthread.php?tid=300816)



hmmmm - jot16 - 02.12.2011

any1 help plz??

I get this error:
pawn Код:
SAMP 0.3d\gamemodes\test.pwn(960) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
I did add it at the end


Re: hmmmm - Rob_Maate - 02.12.2011

Show us the code mate


Re: hmmmm - jot16 - 02.12.2011

here is most of my script......

http://pastebin.com/cf3MJtPk


Re: hmmmm - Thresholdold - 02.12.2011

#if !defined floatstr
#if defined FILTERSCRIPT

You need 2 #endif 's


Re: hmmmm - jot16 - 02.12.2011

Quote:
Originally Posted by Threshold
Посмотреть сообщение
#if !defined floatstr
#if defined FILTERSCRIPT

You need 2 #endif 's
didn't fix it....


Re: hmmmm - Thresholdold - 02.12.2011

What was the error after you added the next #endif ??


Re: hmmmm - Thresholdold - 02.12.2011

I copied your script, added an #endif on the very end of it and it compiled properly...

Do you reckon you can post your entire script so I can compile it for you?

EDIT: If you haven't fixed it that is...


Re: hmmmm - jot16 - 02.12.2011

Quote:
Originally Posted by Threshold
Посмотреть сообщение
What was the error after you added the next #endif ??
I added it on top got same error.removed it got same error.added at bottom of my script same error. error 001: expected token: "#endif", but found "-end of file-"


Re: hmmmm - Thresholdold - 02.12.2011

Pastebin it please so I can take a look at it


Re: hmmmm - Thresholdold - 04.12.2011

Sorry for the late reply... This problem has been fixed