[Help] Comparing strings (strcmp)
#1

I did it like that:
pawn Код:
if(!strcmp(inputtext, gServerPassword))
                {
                    SCM(playerid, COLOR_LIGHTRED, "Wrong password!");
                    Kick(playerid);
                    return 1;
                }
But I'm getting this error:
pawn Код:
error 035: argument type mismatch (argument 2)
Any ideas?
Reply


Messages In This Thread
[Help] Comparing strings (strcmp) - by Maxips2 - 03.08.2010, 08:44
Re: [Help] Comparing strings (strcmp) - by iggy1 - 03.08.2010, 09:19
Re: [Help] Comparing strings (strcmp) - by Zimon95 - 03.08.2010, 09:46

Forum Jump:


Users browsing this thread: 1 Guest(s)