[Help] Comparing strings (strcmp)
#3

Try this, it should work, by the way you have to assign a string to that variable:
pawn Код:
if(strcmp(inputtext,gServerPassword,false))
                {
                    SCM(playerid, COLOR_LIGHTRED, "Wrong password!");
                    Kick(playerid);
                    return 1;
                }
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: 2 Guest(s)