Very weird bug... Stats mix with each other accounts?
#4

Here the GM load the user... In the query.
pawn Код:
stock OnPlayerLogin(playerid, password[])
{  
    new
        data[256],
        string[128],
        playername[MAX_PLAYER_NAME],
        DBResult:result;
       
    GetPlayerName(playerid, playername, sizeof(playername));
        Encrypt(password);
        format(string, sizeof(string), "SELECT * FROM `Accounts` WHERE `Username` = '%s' AND `Password` = '%s'", playername, password);
        result = db_query(AccountDB, string);
//blablabla
So?..
I have tried something, but no results...
Reply


Messages In This Thread
Very weird bug... Stats mix with each other accounts? - by alanhutch - 07.10.2014, 19:43
Re: Very weird bug... Stats mix with each other accounts? - by Gogeta - 07.10.2014, 19:44
Re: Very weird bug... Stats mix with each other accounts? - by Abagail - 07.10.2014, 19:56
Re: Very weird bug... Stats mix with each other accounts? - by alanhutch - 07.10.2014, 20:01
Re: Very weird bug... Stats mix with each other accounts? - by Dignity - 07.10.2014, 20:06
Re: Very weird bug... Stats mix with each other accounts? - by alanhutch - 07.10.2014, 20:07

Forum Jump:


Users browsing this thread: 6 Guest(s)