Problem with strcmp passwords. [rep++]
#1

pawn Код:
new UserPassword[24];
                    format(UserPassword,sizeof(UserPassword),"%s",dini_Get(playernamefile(playerid),"Password"));
                    print(inputtext);
                    print(UserPassword);

                    if(strcmp(inputtext,UserPassword,true,sizeof(UserPassword) ) )
                   
                        {

As you can see I've printed them both for debugging purposes, and they matched, so I can't see why it isn't returning as true :/
Reply


Messages In This Thread
Problem with strcmp passwords. [rep++] - by Hoborific - 18.12.2011, 16:30
Re: Problem with strcmp passwords. [rep++] - by Thresholdold - 18.12.2011, 16:32
Re: Problem with strcmp passwords. [rep++] - by Hoborific - 18.12.2011, 16:37
Re: Problem with strcmp passwords. [rep++] - by [NoV]LaZ - 18.12.2011, 16:40
Re: Problem with strcmp passwords. [rep++] - by Hoborific - 18.12.2011, 16:43
Re: Problem with strcmp passwords. [rep++] - by Kaperstone - 18.12.2011, 16:46
Re: Problem with strcmp passwords. [rep++] - by Thresholdold - 18.12.2011, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)