SA-MP Forums Archive
Noobish 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: Noobish Error (/showthread.php?tid=256137)



Noobish Error - wheelman_WM - 19.05.2011

Hey Guys I m getting this error in my gamemode

Код:
D:\xd\HM.pwn(17055) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
THE Line is above the last line of the gamemode anyone help me how get rid of this Noobish Error ?


AW: Noobish Error - Julian12345 - 19.05.2011

Maybe you forgot #endif at the end?


Re: Noobish Error - wheelman_WM - 19.05.2011

Hm thnx but i tried to add a FS tO GM AND i starting getting ths error and i removedd that script from gm and i was nt using Endif but now i ned to why ?


AW: Noobish Error - Julian12345 - 19.05.2011

Well, if you have
pawn Код:
#if defined filterscript
, you need to add #endif


Re: AW: Noobish Error - Sasino97 - 19.05.2011

Quote:
Originally Posted by Julian12345
Посмотреть сообщение
Well, if you have
pawn Код:
#if defined filterscript
, you need to add #endif
Or just delete

#define FILTERSCRIPT
and
#if defined FILTERSCRIPT