[HELP] MySQL R7 and Login...
#3

Try this:

pawn Code:
public CheckAccount(playerid, account[])
{
    new rows, fields;
    cache_get_data(rows, fields);
    if(rows)
    {
        SetPVarInt(playerid, "IsRegistered", 1); // Then we set PVar for players that are registered already
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD...);
    }
    return 1;
}
As Vince said, no need to use mysql_num_rows() in R7.
Reply


Messages In This Thread
[SOLVED] MySQL R7 and login... - by CrossUSAAF - 13.05.2013, 11:15
Re: [HELP] MySQL R7 and Login... - by Vince - 13.05.2013, 13:00
Re: [HELP] MySQL R7 and Login... - by Calabresi - 13.05.2013, 13:05
Re: [HELP] MySQL R7 and Login... - by CrossUSAAF - 13.05.2013, 13:45
Re: [HELP] MySQL R7 and Login... - by Calabresi - 13.05.2013, 13:51
Re: [HELP] MySQL R7 and Login... - by CrossUSAAF - 13.05.2013, 15:56

Forum Jump:


Users browsing this thread: 2 Guest(s)