SA-MP Forums Archive
strcmp Agument type mismatch - 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: strcmp Agument type mismatch (/showthread.php?tid=418386)



strcmp Agument type mismatch - dusk - 24.02.2013

Full erorr:
pawn Код:
C:\Users\Justas\Desktop\testserver 0.3x\gamemodes\rp.pwn(809) : error 035: argument type mismatch (argument 1)
And here is the line
pawn Код:
if(strcmp(cslot,"1",true,1)==0)
Seriously,what's wrong?


Re: strcmp Agument type mismatch - AndreT - 24.02.2013

cslot is not an array.


Re: strcmp Agument type mismatch - dusk - 24.02.2013

I always search for a problem deepier,and the answer is always simple! Thanks