SAMP Wiki: Statistics script not working
#2

You're calling for functions/variables, which have not been defined (or coded) in your script. For example, when the script says equal(templine,line,true), it has no idea what to do, since it has not been told what to do.

If you add (for example)
pawn Код:
public equal(var1, var2, match)
{
    if((var1 == var2 && match) || (var1 != var2 && !match)){
        return true;
    }else {
        return false;
    }
}
it will know what to do.

But I think you're missing an include, which can be fixed by adding #include <some-file-here> to the start of your script right under the other includes.
Reply


Messages In This Thread
SAMP Wiki: Statistics script not working - by Barrack - 04.06.2012, 14:07
Re: SAMP Wiki: Statistics script not working - by 3ventic - 04.06.2012, 15:08
Re: SAMP Wiki: Statistics script not working - by Barrack - 04.06.2012, 16:07
Re: SAMP Wiki: Statistics script not working - by RyXeR - 31.12.2016, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)