SA-MP Forums Archive
Can't compile - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Can't compile (/showthread.php?tid=305861)



Can't compile - Marin_Franolic - 24.12.2011

I can't compile this filterscript whe i edit it help!
http://imageshack.us/photo/my-images...tocompile.jpg/


Re: Can't compile - Ironboy - 24.12.2011

Cant see the errors properly , just copy and paste it here.


Re: Can't compile - Marin_Franolic - 24.12.2011

C:\Users\Aleksandar\Desktop\Novi sever\filterscripts\aHouse.pwn(95) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Aleksandar\Desktop\Novi sever\filterscripts\aHouse.pwn(980) : warning 203: symbol is never used: "strtok"


Re: Can't compile - Ironboy - 24.12.2011

Quote:

C:\Users\Aleksandar\Desktop\Novi sever\filterscripts\aHouse.pwn(980) : warning 203: symbol is never used: "strtok"

You have already defined strtok.So you must remove it from the script.
And you didnt put the correct symbol ( ; ) in line 95


Re: Can't compile - Gazmull - 25.12.2011

put
pawn Код:
#pragma unused strtok
to avoid the strtok warning or remove it
and put ";" at the end of line 95