thread mysql function
#1

pawn Код:
stock isPlayerAccountRegistred(account[])
{
    new string[128];
    format(string, sizeof(string), "SELECT `pName` FROM `accs` WHERE `pName`='%s'", account);
    mysql_query(string);
    mysql_store_result();
    if(mysql_num_rows() != 0)
    {
        mysql_free_result();
        return 1;
    }
    mysql_free_result();
    return 0;
}
how can i thraed that so it work with mysql R7? by blueg i use it many places
Reply


Messages In This Thread
thread mysql function - by Unknown123 - 13.03.2012, 11:46
Re: thread mysql function - by TTJJ - 13.03.2012, 11:49
Re: thread mysql function - by Richie© - 13.03.2012, 12:15
Re: thread mysql function - by Unknown123 - 13.03.2012, 12:20
Re: thread mysql function - by Richie© - 13.03.2012, 12:27
Re: thread mysql function - by Unknown123 - 13.03.2012, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)