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



Error - pawnoderek - 04.01.2013

undefined symbol "isStringSame"


Re: Error - Lynn - 04.01.2013

Means isStringSame is not defined anywhere in your script, but it's being used for something.


Re: Error - InActtive™ - 04.01.2013

Place this in the stock area of your script (Closest to the bottom, below the main functions.)
pawn Код:
stock isStringSame(const string1[], const string2[], len)
{
    for(new i = 0; i < len; i++)
        if(string1[i]!=string2[i])
            return 0;
        if(string1[i] == 0 || string1[i] == '\n' || string1[i]==string2[i])
        return 1;
    }
    return 1;
}