Login bug again :|
#1

pawn Код:
if(dialogid == 667)
        {
            if(response)
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    gPlayerLogged[playerid] = 1;
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
                    SCM(playerid, COLOR_RED, "You have logged in. You may now spawn.");
                }
                else
                {
                    gPlayer[playerid] += 1;

                    if(gPlayer[playerid] == 1)
                    {
                        SCM(playerid, COLOR_RED, "Wrong Password. 1/3");
                    }

                    if(gPlayer[playerid] == 2)
                    {
                        SCM(playerid, COLOR_RED, "Wrong Password. 2/3");
                    }

                   
                    {
                        SCM(playerid, COLOR_RED, "Wrong Password. 3/3. You have been kicked.");
                        Kick(playerid);
                    }
                }
            }
        }
    }
    return 1;
}
When the dialog pops up and I press accept, it shuts the dialog and nothing happends..
Reply


Messages In This Thread
Login bug again :| - by Vrondakis - 17.03.2012, 20:33
Re: Login bug again :| - by Vrondakis - 17.03.2012, 23:03
Re: Login bug again :| - by new121 - 17.03.2012, 23:05
Re: Login bug again :| - by park4bmx - 17.03.2012, 23:08
Re: Login bug again :| - by Cpt.Shady - 17.03.2012, 23:38
Re: Login bug again :| - by Vrondakis - 18.03.2012, 00:46
Re: Login bug again :| - by ReneG - 18.03.2012, 01:01
Re: Login bug again :| - by Vrondakis - 18.03.2012, 01:14
Re: Login bug again :| - by Alvord - 18.03.2012, 04:13
Re: Login bug again :| - by park4bmx - 18.03.2012, 10:17

Forum Jump:


Users browsing this thread: 2 Guest(s)