Get 'false password' error eventhough password is correct
#1

I put the correct pass but still it throws the error, why?

Code:
case DIALOG_LOGIN:
        {
            if (!response) return Kick ( playerid );
            if(response)
            {
                if(strcmp(inputtext, PlayerInfo[playerid][pPass], false))
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoneyEx(playerid, PlayerInfo[playerid][pCash]);
                    welcome(playerid);
                    NewMoney[playerid] = GetPlayerMoney(playerid);
                    PlayerInfo[playerid][pLogged] = 1;
                    ForceClassSelection(playerid);
				    TogglePlayerSpectating(playerid, true);
				    TogglePlayerSpectating(playerid, false);
                }
                else
                {
					slowkick(playerid, "Invalid password");
					PlayerInfo[playerid][pLogged] = 0;
                }
                return 1;
            }
        }
Reply


Messages In This Thread
Get 'false password' error eventhough password is correct - by Sellize - 14.11.2014, 16:49
Re: Get 'false password' error eventhough password is correct - by DavidBilla - 14.11.2014, 17:11
Re: Get 'false password' error eventhough password is correct - by Sellize - 15.11.2014, 08:06

Forum Jump:


Users browsing this thread: 1 Guest(s)