[Ajuda] MySQL R38
#3

Acredito que o erro nгo esteja no cуdigo, afinal, quando outro jogador entra antes de vocк relogar, o sistema funciona perfeitamente.

pawn Код:
mysql_format(con, query, sizeof(query), "SELECT * FROM `tb_players` WHERE `cl_nick` = '%e'", PlayerName(playerid));
    mysql_function_query(con, query, true, "SearchPlayer", "i", playerid);
pawn Код:
public SearchPlayer(playerid)
{
    new ln, cl;
    new GPN[MAX_PLAYER_NAME]; GetPlayerName(playerid, GPN, MAX_PLAYER_NAME);
    cache_get_data(ln, cl, con);

    new strx[50]; format(strx, sizeof(strx), "{FFFFFF}Hey, %s!", GPN);
   
    if(!ln)
        //registro
    else
    {
            ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, strx, "{FFFFFF}Digite sua senha para realizar o login em nosso servidor", "Confirmar", "Cancelar");
    }
    return 1;
}
Reply


Messages In This Thread
MySQL R38 - RESOLVIDO - by Simetris - 08.06.2014, 17:22
Re: MySQL R38 - by PT - 08.06.2014, 21:42
Re: MySQL R38 - by Simetris - 08.06.2014, 23:49
Re: MySQL R38 - by DogeMan - 09.06.2014, 01:53
Re: MySQL R38 - by Simetris - 09.06.2014, 12:29
Re: MySQL R38 - by DogeMan - 09.06.2014, 13:03
Re: MySQL R38 - by Simetris - 09.06.2014, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)