SA-MP Forums Archive
ERROR 035: (mismatch 1) - 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 035: (mismatch 1) (/showthread.php?tid=458136)



ERROR 035: (mismatch 1) - Lyksus - 15.08.2013

I don't understand, check this out:

pawn Код:
insertFactionInfo(fName);
this is the stock:

pawn Код:
stock insertFactionInfo(fName[128])
help


Re: ERROR 035: (mismatch 1) - verlaj - 15.08.2013

what if you place the stock at first place (above the scripted part in which stock is used)


Re: ERROR 035: (mismatch 1) - ThePhenix - 15.08.2013

Change:
Код:
stock insertFactionInfo(fName[128])
To:

PHP код:
stock insertFactionInfo(fName[]) 



Re: ERROR 035: (mismatch 1) - Lyksus - 15.08.2013

Didn't work, thanks for helping though


Re: ERROR 035: (mismatch 1) - gtakillerIV - 15.08.2013

Is Fname a string ? If not, then it must be one. Because the first argument/parameter can only take a string.


Re: ERROR 035: (mismatch 1) - Lyksus - 15.08.2013

IT's fixed now, I just ran the whole query as a whole instead of in different functins. Thanks for the help guys, +rep to all of you