MySQL password login problem.
#1

pawn Код:
public OnPlayerLogin(playerid,password[])
{
    new tmp2[256];
    new string2[64];
    new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    MySQLFetchAcctSingle(playerid, "Password", PlayerInfo[playerid][pKey]);
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    {
        new Data[1024];
        new Field[64];
        new rcnt = 1;
        MySQLFetchAcctRecord(playerid, Data);
        if (rcnt == 3) PlayerInfo[playerid][pLevel] = strval(Field);
Alabala password, I write aa, I log
How do I fix?
Reply


Messages In This Thread
MySQL password login problem. - by exDDDD - 05.01.2011, 17:04
Re: MySQL password login problem. - by veyron - 05.01.2011, 17:23
Re: MySQL password login problem. - by exDDDD - 05.01.2011, 18:56
Re: MySQL password login problem. - by veyron - 05.01.2011, 19:01
Re: MySQL password login problem. - by exDDDD - 05.01.2011, 20:17
Re: MySQL password login problem. - by exDDDD - 06.01.2011, 16:59
Re: MySQL password login problem. - by exDDDD - 07.01.2011, 14:17
Re: MySQL password login problem. - by hanzen - 07.01.2011, 14:21
Re: MySQL password login problem. - by exDDDD - 07.01.2011, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)