error 035: argument type mismatch (argument 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: argument type mismatch (argument 1) (
/showthread.php?tid=288268)
error 035: argument type mismatch (argument 1) -
Jack_Leslie - 07.10.2011
I'm using sscanf for this code but also strcmp to ask what action they inputted, e.g.:
pawn Код:
if(strcmp(action, "put") == 0)
That's where I get the error. Along with other codes, but are just different actions.
Re: error 035: argument type mismatch (argument 1) -
[HiC]TheKiller - 07.10.2011
Make sure that the variable action is a string.
Re: error 035: argument type mismatch (argument 1) -
Jack_Leslie - 07.10.2011
Oh, I think I had new action; not new action[128];
Oopsy.