SA-MP Forums Archive
Problem when i compile - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Problem when i compile (/showthread.php?tid=622872)



Problem when i compile - CarlosScripter - 27.11.2016

I didn't have this problems before when I was compiling the same filterscript, and today I've opened the filterscript and change just the name of one command and when I click on the compiler it has shown me this error.

And this is the line 336 where is the error.

If you know how can i fix this problem please help me i will be very thankful!!



Re: Problem when i compile - SyS - 27.11.2016

Why don't you just add more "photoshopic" effect on the code like lens flare, little more blur and make the image little more smaller?


Re: Problem when i compile - Alvitr - 27.11.2016

maybe there is never include foreach before,
check includes,and check you have #include at this filterscript like:
#include <foreach>

if you haven't that include, you can find it.
https://sampforum.blast.hk/showthread.php?tid=570868

and text are so small ...x___x

i recommend post to here
http://forum.sa-mp.com/forumdisplay.php?f=12


Re: Problem when i compile - CarlosScripter - 27.11.2016

Here are bigger pictures
First:
http://imgur.com/9AhsmkP.png
Second:
http://imgur.com/CVQr3jY.png

The error is still same I don't know how to define forearch and i look better at these pictures.


Re: Problem when i compile - Alvitr - 27.11.2016

oops,
PHP код:
#if ReportID == true 
seems it's problem.

sorry about that.

you should use

PHP код:
if(ReportID
like

PHP код:
if(ReportID){

I think..

see
https://sampwiki.blast.hk/wiki/Control_Structures

by the way,
if you have #define ReportID something
must be:
PHP код:
#ifdef ReportID